Skip to main content

Enforce Best Practices for all your Airflow DAGs. ⭐

Project description

airflint

pre-commit.ci status test workflow codeql-analysis workflow codecov PyPI version License PyPI - Python Version PyPI version

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 DeprecationWarnings

🚀 Get started

To install it from PyPI run:

pip install airflint

Project details


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)

Uploaded Source

Built Distribution

airflint-0.1.1a0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

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

Hashes for airflint-0.1.1a0.tar.gz
Algorithm Hash digest
SHA256 b192c844755c531c20c0e92c86747b95a69113aae3363e5b9af6d02de272e199
MD5 769e389ccfb3c39efc6070e6e52f22c8
BLAKE2b-256 12e773bc5b2f8bdd5371e476cf5f180b2345da09fe748b36259c623b41ecda33

See more details on using hashes here.

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

Hashes for airflint-0.1.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6533b2588800bef3fdb28dbfdd59ff84f3d643fe4df4b70b092ea039abd20999
MD5 e41766d247a0dd21245fee61bd5bdbb0
BLAKE2b-256 81e2a81f3c1b394dd3ee71daceba374c9d1c4c9584e6e69e8d40ecce2eb23f48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page