Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit900fc33

Browse files
authored
Merge pull request#1953 from EliahKagan/pre-commit
Update and adjust pre-commit hooks
2 parentsb630eaf +cae0d87 commit900fc33

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

‎.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
repos:
22
-repo:https://github.com/codespell-project/codespell
3-
rev:v2.2.4
3+
rev:v2.3.0
44
hooks:
55
-id:codespell
66
additional_dependencies:[tomli]
7-
# args: ["--write-changes"] # consider enabling for auto-fif
8-
exclude:"test/fixtures/"
7+
exclude:^test/fixtures/
98

109
-repo:https://github.com/astral-sh/ruff-pre-commit
11-
rev:v0.4.3
10+
rev:v0.6.0
1211
hooks:
1312
-id:ruff
1413
args:["--fix"]
@@ -17,22 +16,23 @@ repos:
1716
exclude:^git/ext/
1817

1918
-repo:https://github.com/shellcheck-py/shellcheck-py
20-
rev:v0.9.0.6
19+
rev:v0.10.0.1
2120
hooks:
2221
-id:shellcheck
2322
args:[--color]
2423
exclude:^test/fixtures/polyglot$|^git/ext/
2524

2625
-repo:https://github.com/pre-commit/pre-commit-hooks
27-
rev:v4.5.0
26+
rev:v4.6.0
2827
hooks:
2928
-id:end-of-file-fixer
30-
exclude:test/fixtures/
29+
exclude:^test/fixtures/|COPYING|LICENSE
30+
-id:check-symlinks
3131
-id:check-toml
3232
-id:check-yaml
3333
-id:check-merge-conflict
3434

3535
-repo:https://github.com/abravalheri/validate-pyproject
36-
rev:v0.16
36+
rev:v0.19
3737
hooks:
38-
-id:validate-pyproject
38+
-id:validate-pyproject

‎pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ lint.unfixable = [
8484

8585

8686
[tool.codespell]
87-
ignore-words-list="gud,doesnt"
87+
ignore-words-list="afile,assertIn,doesnt,gud,uptodate"
8888
#count = true
8989
quiet-level =3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp