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

[^1]: There is a PEP for Lazy Imports targeted to arrive in Python 3.12 which would supersede this rule.

based on official Best Practices

🚀 Get started

To install it from PyPI run:

pip install airflint

Then just call it like this:

usage

pre-commit

Alternatively you can add the following repo to your pre-commit-config.yaml:

  - repo: https://github.com/feluelle/airflint
    rev: v0.1.2-alpha
    hooks:
      - id: airflint
        args: ["-a"]  # Use -a for replacing inplace

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.2.0a0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

airflint-0.2.0a0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file airflint-0.2.0a0.tar.gz.

File metadata

  • Download URL: airflint-0.2.0a0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Linux/5.13.0-1029-azure

File hashes

Hashes for airflint-0.2.0a0.tar.gz
Algorithm Hash digest
SHA256 e59e30f5f37e0f75646105621d4b3fda9a8f8d5547106393e560fa9e8b6c4b26
MD5 23aba86c934a55f8d4ec85898ce35633
BLAKE2b-256 872138506ded792f57323e050ebfe84da7bef702dca470d937c483c6624ad933

See more details on using hashes here.

File details

Details for the file airflint-0.2.0a0-py3-none-any.whl.

File metadata

  • Download URL: airflint-0.2.0a0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Linux/5.13.0-1029-azure

File hashes

Hashes for airflint-0.2.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 891e1ede1eb086673de1b2729aa8849153aece8d77e71283f274cb38e79abc74
MD5 85a5880cb111372467315a1be0d4bbca
BLAKE2b-256 254614c54b919a83524ab8e7f3b307ff82130b2230085a78f7a7398efcb801f8

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