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 details)
Built Distribution
File details
Details for the file flake8-airflow-0.1.2.tar.gz
.
File metadata
- Download URL: flake8-airflow-0.1.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6335333e4b005097305b7dc72d35f8b288607dcfef2ec014ec77d6b6c67007b |
|
MD5 | e482d6e424efa143eefcb64912f1e357 |
|
BLAKE2b-256 | 3fe80a095a6542cb4d53f6a472ef29ebcc221bb2b921c53b1e66418be2103b87 |
File details
Details for the file flake8_airflow-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_airflow-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb78e50a41011733fe7df63028706985f7e8be2fa156c547808dd174802443d |
|
MD5 | 0d699aa66efc06f3398107452e7fc5c9 |
|
BLAKE2b-256 | 272923cc267c17dd78a6b3318024b216cb3a591f3b73db3f2a367de51b45d671 |