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 details)
Built Distribution
File details
Details for the file airflint-0.1.1a0.tar.gz
.
File metadata
- Download URL: airflint-0.1.1a0.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 | b192c844755c531c20c0e92c86747b95a69113aae3363e5b9af6d02de272e199 |
|
MD5 | 769e389ccfb3c39efc6070e6e52f22c8 |
|
BLAKE2b-256 | 12e773bc5b2f8bdd5371e476cf5f180b2345da09fe748b36259c623b41ecda33 |
File details
Details for the file airflint-0.1.1a0-py3-none-any.whl
.
File metadata
- Download URL: airflint-0.1.1a0-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 | 6533b2588800bef3fdb28dbfdd59ff84f3d643fe4df4b70b092ea039abd20999 |
|
MD5 | e41766d247a0dd21245fee61bd5bdbb0 |
|
BLAKE2b-256 | 81e2a81f3c1b394dd3ee71daceba374c9d1c4c9584e6e69e8d40ecce2eb23f48 |