An opinioned flake8
plugin with Apache Airflow rules.
You can install this extension from pypi
using
pip install flake8-airflow
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 |