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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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