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 airflow-diagrams
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.0a0.tar.gz
(9.8 kB
view hashes)
Built Distribution
airflint-0.1.0a0-py3-none-any.whl
(11.4 kB
view hashes)
Close
Hashes for airflint-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add2479e49bcbf3865c7e3d841e466f13ed4e62346a1c86b1621ac3d4750bbd1 |
|
MD5 | b03d2028db8b40b004ab872650acfa2f |
|
BLAKE2b-256 | c47b2d5788eb133d63450ed22890780966795f027a1b79b1cc163e46d7062672 |