Skip to content

Commit 3de7ab3

Browse files
committed
Remove useless pre-commit hooks
1 parent 9cca2fb commit 3de7ab3

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ repos:
88
priority: 0
99
- id: check-docstring-first
1010
priority: 0
11-
- id: check-executables-have-shebangs
12-
priority: 0
1311
- id: check-merge-conflict
1412
priority: 0
1513
- id: check-toml
@@ -54,14 +52,6 @@ repos:
5452
- id: remove-tabs
5553
args: [--whitespaces-count, '2']
5654
priority: 4
57-
- id: chmod
58-
args: ['644']
59-
exclude_types: [shell]
60-
priority: 5
61-
- id: chmod
62-
args: ['755']
63-
types: [shell]
64-
priority: 5
6555
- id: insert-license
6656
files: .*\.py$
6757
exclude: ^(setup\.py|docs/.*\.py|tests/.*\.py)$
@@ -70,43 +60,36 @@ repos:
7060
- .spdx-license-header.txt
7161
- --allow-past-years
7262
- --no-extra-eol
73-
priority: 6
63+
priority: 5
7464

7565
- repo: https://github.com/codespell-project/codespell
7666
rev: v2.4.1
7767
hooks:
7868
- id: codespell
7969
args: [-w]
80-
priority: 7
70+
priority: 6
8171

8272
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
8373
rev: v2.15.0
8474
hooks:
8575
- id: pretty-format-yaml
8676
args: [--autofix, --indent, '2', --preserve-quotes, --offset, '2']
87-
priority: 8
88-
89-
- repo: https://github.com/lovesegfault/beautysh
90-
rev: v6.4.2
91-
hooks:
92-
- id: beautysh
93-
additional_dependencies: [setuptools]
94-
priority: 8
77+
priority: 7
9578

9679
- repo: https://github.com/astral-sh/uv-pre-commit
9780
rev: 0.9.18
9881
hooks:
9982
- id: uv-lock
100-
priority: 8
83+
priority: 7
10184

10285
- repo: https://github.com/astral-sh/ruff-pre-commit
10386
rev: v0.14.10
10487
hooks:
10588
- id: ruff-format
106-
priority: 8
89+
priority: 7
10790
- id: ruff
10891
args: [--fix]
109-
priority: 9
92+
priority: 8
11093

11194
- repo: local
11295
hooks:
@@ -116,14 +99,14 @@ repos:
11699
language: system
117100
types: [python]
118101
pass_filenames: false
119-
priority: 10
102+
priority: 9
120103
- id: towncrier
121104
name: towncrier
122105
entry: towncrier build --draft
123106
language: system
124107
types: [rst]
125108
pass_filenames: false
126-
priority: 8
109+
priority: 7
127110

128111
- repo: meta
129112
hooks:
@@ -134,6 +117,5 @@ repos:
134117

135118
ci:
136119
skip:
137-
- chmod # failing in pre-commit.ci
138120
- mypy # checked with Github Actions
139121
- towncrier # checked with Github Actions

0 commit comments

Comments
 (0)