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 details)
Built Distribution
File details
Details for the file airflint-0.1.0a0.tar.gz
.
File metadata
- Download URL: airflint-0.1.0a0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9028b0259d411c467915edbf6d86a31a5410a71b1e5c9f0ee179bf7b4c326eff |
|
MD5 | b3213b274bbf7dd21da30bbbe3fb8d2c |
|
BLAKE2b-256 | f020fb8fd46e12a9e658748f30bda522a1a8ed320b811a9568c5b8a816d8f939 |
File details
Details for the file airflint-0.1.0a0-py3-none-any.whl
.
File metadata
- Download URL: airflint-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | add2479e49bcbf3865c7e3d841e466f13ed4e62346a1c86b1621ac3d4750bbd1 |
|
MD5 | b03d2028db8b40b004ab872650acfa2f |
|
BLAKE2b-256 | c47b2d5788eb133d63450ed22890780966795f027a1b79b1cc163e46d7062672 |