Enforce Best Practices for all your Airflow DAGs. ⭐
Project description
airflint
Enforce Best Practices for all your Airflow DAGs. ⭐
🧑🏫 Rules
- use datetime instead of days_ago in DAG start_date
- task decorator instead of PythonOperator and PythonVenvOperator
- dag decorator instead of DAG
- jinja string instead of Variable.get
⚠️ airflint does not remove imports. For removing unused imports please use autoflake additionally.
💡 Future Ideas
- fix Official Airflow
DeprecationWarning
s
🚀 Get started
To install it from PyPI run:
pip install airflint
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
airflint-0.1.1a0.tar.gz
(9.8 kB
view hashes)
Built Distribution
airflint-0.1.1a0-py3-none-any.whl
(11.4 kB
view hashes)
Close
Hashes for airflint-0.1.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6533b2588800bef3fdb28dbfdd59ff84f3d643fe4df4b70b092ea039abd20999 |
|
MD5 | e41766d247a0dd21245fee61bd5bdbb0 |
|
BLAKE2b-256 | 81e2a81f3c1b394dd3ee71daceba374c9d1c4c9584e6e69e8d40ecce2eb23f48 |