forked from VOICEVOX/voicevox_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
42 lines (42 loc) · 1.39 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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-test
name: poetry-export-test
entry: poetry export --without-hashes --with test -o requirements-test.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
- id: poetry-export-license
name: poetry-export-license
entry: poetry export --without-hashes --with license -o requirements-license.txt
language: python
stages: [push]
pass_filenames: false