forked from VOICEVOX/voicevox_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (36 loc) · 1.16 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
# 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