Easy to include hook for dephell and 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-txtYou 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- pre-commit: https://github.com/pre-commit/pre-commit
- dephell: https://github.com/dephell/dephell
- poetry: https://github.com/sdispater/poetry