Skip to content

bradleybonitatibus/flake8-airflow

flake8-airflow

CI PyPI version OpenSSF Best Practices

An opinioned flake8 plugin with Apache Airflow rules.

Installing

You can install this extension from pypi using

pip install flake8-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

About

A flake8 plugin for linting Apache Airflow code

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •