Skip to content
This repository was archived by the owner on Jul 12, 2025. It is now read-only.

Latest commit

 

History

History
29 lines (22 loc) · 779 Bytes

File metadata and controls

29 lines (22 loc) · 779 Bytes

dephell hook for pre-commit (formerly known as poetry-setup for pre-commit)

Easy to include hook for dephell and pre-commit.

Using dephell with pre-commit

Add this to your .pre-commit-config.yaml:

    - repo: https://github.com/mverteuil/precommit-dephell
      rev: master
      hooks:
        - id: pyproject-toml-to-setup-py
        - id: pyproject-toml-to-requirements-txt

You can also configure dephell with pyproject.toml and use the bare dephell hook:

    - repo: https://github.com/mverteuil/precommit-dephell
      rev: master
      hooks:
        - id: dephell

Related Items