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

Update and adjust pre-commit hooks#1953

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 10 commits intogitpython-developers:mainfromEliahKagan:pre-commit
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
10 commits
Select commitHold shift + click to select a range
d1582d1
Update versions of pre-commit hooks
EliahKaganAug 15, 2024
016fa44
Have codespell ignore words that cause new false positives
EliahKaganAug 15, 2024
c82bb65
Fix a spelling error that codespell didn't catch
EliahKaganAug 15, 2024
9556f63
Drop suggestion to auto-fix spelling (many false positives)
EliahKaganAug 15, 2024
7a138ee
Fix small inconsistencies in test/fixtures/ exclusions
EliahKaganAug 15, 2024
53ec790
Fix inconsistent indentation
EliahKaganAug 15, 2024
bdfa280
Temporarily let end-of-file-fixer break LICENSE-BSD symlink
EliahKaganAug 15, 2024
965ea8b
Enable check-symlinks pre-commit hook
EliahKaganAug 16, 2024
e978248
Revert "Temporarily let end-of-file-fixer break LICENSE-BSD symlink"
EliahKaganAug 16, 2024
cae0d87
Don't fix end-of-file in files named like licenses
EliahKaganAug 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions.pre-commit-config.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies: [tomli]
# args: ["--write-changes"] # consider enabling for auto-fif
exclude: "test/fixtures/"
exclude: ^test/fixtures/

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.6.0
hooks:
- id: ruff
args: ["--fix"]
Expand All@@ -17,22 +16,23 @@ repos:
exclude: ^git/ext/

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
rev: v0.10.0.1
hooks:
- id: shellcheck
args: [--color]
exclude: ^test/fixtures/polyglot$|^git/ext/

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
exclude: test/fixtures/
exclude: ^test/fixtures/|COPYING|LICENSE
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: check-merge-conflict

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.16
rev: v0.19
hooks:
- id: validate-pyproject
- id: validate-pyproject
2 changes: 1 addition & 1 deletionpyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -84,6 +84,6 @@ lint.unfixable = [


[tool.codespell]
ignore-words-list="gud,doesnt"
ignore-words-list="afile,assertIn,doesnt,gud,uptodate"
#count = true
quiet-level = 3
Loading

[8]ページ先頭

©2009-2025 Movatter.jp