Spaces:
Running
Running
# See https://pre-commit.com for more information | |
# See https://pre-commit.com/hooks.html for more hooks | |
repos: | |
- repo: local | |
hooks: | |
- id: pysen-lint | |
name: pysen-lint | |
entry: pysen run lint | |
language: python | |
types: [file, python] | |
stages: [push] | |
pass_filenames: false | |
- id: poetry-check # `pyproject.toml` と `poetry.lock` が整合する | |
name: poetry-check | |
entry: poetry check | |
language: python | |
stages: [push] | |
pass_filenames: false | |
- id: poetry-export | |
name: poetry-export | |
entry: poetry export --without-hashes -o requirements.txt | |
language: python | |
stages: [push] | |
pass_filenames: false | |
- id: poetry-export-dev | |
name: poetry-export-dev | |
entry: poetry export --without-hashes --with dev -o requirements-dev.txt | |
language: python | |
stages: [push] | |
pass_filenames: false | |
- id: poetry-export-build | |
name: poetry-export-build | |
entry: poetry export --without-hashes --with build -o requirements-build.txt | |
language: python | |
stages: [push] | |
pass_filenames: false | |