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 hashes)
Built Distribution
Close
Hashes for flake8_airflow-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49920eadee3f8693dc34135689dd518e0667fcecf6a3d6cc7a0d56b516358e9 |
|
MD5 | 856a1ef4c6b455f752463a12f0a53fb0 |
|
BLAKE2b-256 | 56dad6e44a663327584e6813aecf132558403e59f92683841328ef2f216c1370 |