Flake8 extension for Apache Airflow static analysis rules.
Project description
flake8-airflow
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
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.2.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for flake8_airflow-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb78e50a41011733fe7df63028706985f7e8be2fa156c547808dd174802443d |
|
MD5 | 0d699aa66efc06f3398107452e7fc5c9 |
|
BLAKE2b-256 | 272923cc267c17dd78a6b3318024b216cb3a591f3b73db3f2a367de51b45d671 |