We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d07c029 commit 9dd9ca2Copy full SHA for 9dd9ca2
.pre-commit-config.yaml
@@ -1,6 +1,12 @@
1
+default_install_hook_types:
2
+ - pre-commit
3
+ - commit-msg
4
+ - pre-push
5
+
6
default_stages:
7
- commit
8
- push
9
10
repos:
11
- repo: https://github.com/pre-commit/pre-commit-hooks
12
rev: v4.1.0
docs/contributing.md
@@ -16,7 +16,7 @@ If you're a first-time contributor, you can check the issues with [good first is
16
1. Fork [the repository](https://github.com/commitizen-tools/commitizen).
17
2. Clone the repository from your GitHub.
18
3. Setup development environment through [poetry](https://python-poetry.org/) (`poetry install`).
19
-4. Setup [pre-commit](https://pre-commit.com/) hook (`poetry run pre-commit install -t pre-commit -t pre-push -t commit-msg`)
+4. Setup [pre-commit](https://pre-commit.com/) hook (`poetry run pre-commit install`)
20
5. Check out a new branch and add your modification.
21
6. Add test cases for all your changes.
22
(We use [CodeCov](https://codecov.io/) to ensure our test coverage does not drop.)
pyproject.toml
@@ -62,7 +62,7 @@ pytest-xdist = "^3.1.0"
62
black = "^22.10"
63
# linter
64
ruff = "^0.0.262"
65
-pre-commit = "^2.6.0"
+pre-commit = "^2.18.0"
66
mypy = "^0.931"
67
types-PyYAML = "^5.4.3"
68
types-termcolor = "^0.1.1"
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments