Flake8 extension for Apache Airflow static analysis rules.
Project description
flake8-airflow
An opinioned flake8
plugin for Apache Airflow.
Rules
The following is a table of rules, what they mean, and why they exist.
Rule Name | Description | Purpose |
---|---|---|
AA101 |
Use of SubDagOperator |
Airflow has deprecated SubDagOperator since 2.0 and should not be used |
AA102 |
Use of BashOperator |
Airflow does not escape strings sent to the bash_command 1 and is a potential security risk |
AA103 |
Missing retries default argument in DAG constructor |
Retries improve DAG resiliency |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8-airflow-0.1.0.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file flake8-airflow-0.1.0.tar.gz
.
File metadata
- Download URL: flake8-airflow-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc362942e5d125d2ab7b3cdff4e3c797731f84c65911c5917403570e62c5ad8 |
|
MD5 | 25f0c31780d0ce9e6af6bb6d7c1b37e6 |
|
BLAKE2b-256 | 784f67192d6784d7ddbef5042d59adeff8e522d4da295721d2b63f060e121270 |
File details
Details for the file flake8_airflow-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_airflow-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49920eadee3f8693dc34135689dd518e0667fcecf6a3d6cc7a0d56b516358e9 |
|
MD5 | 856a1ef4c6b455f752463a12f0a53fb0 |
|
BLAKE2b-256 | 56dad6e44a663327584e6813aecf132558403e59f92683841328ef2f216c1370 |