Skip to main content

Flake8 extension for Apache Airflow static analysis rules.

Project description

flake8-airflow

CI PyPI version

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

Project details


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.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

flake8_airflow-0.1.2-py2.py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page