Skip to content

Commit dc058fd

Browse files
Pierre-Sassoulasseifertm
authored andcommitted
Remove outdated fix-encoding-pragma by pyupgrade
1 parent 4a11668 commit dc058fd

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,24 @@ repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
44
rev: v6.0.0
55
hooks:
6+
- id: trailing-whitespace
7+
- id: end-of-file-fixer
68
- id: check-merge-conflict
79
exclude: rst$
10+
- id: check-case-conflict
11+
- id: check-json
12+
- id: check-xml
13+
- id: check-yaml
14+
- id: debug-statements
815
- repo: https://github.com/astral-sh/ruff-pre-commit
916
rev: v0.12.8
1017
hooks:
1118
- id: ruff
1219
args: [--fix]
20+
- repo: https://github.com/asottile/pyupgrade
21+
rev: v3.20.0
22+
hooks:
23+
- id: pyupgrade
1324
- repo: https://github.com/asottile/yesqa
1425
rev: v1.5.0
1526
hooks:
@@ -29,18 +40,6 @@ repos:
2940
hooks:
3041
- id: yamlfmt
3142
args: [--mapping, '2', --sequence, '2', --offset, '0']
32-
- repo: https://github.com/pre-commit/pre-commit-hooks
33-
rev: v6.0.0
34-
hooks:
35-
- id: trailing-whitespace
36-
- id: end-of-file-fixer
37-
- id: fix-encoding-pragma
38-
args: [--remove]
39-
- id: check-case-conflict
40-
- id: check-json
41-
- id: check-xml
42-
- id: check-yaml
43-
- id: debug-statements
4443
- repo: https://github.com/pre-commit/mirrors-mypy
4544
rev: v1.17.1
4645
hooks:

0 commit comments

Comments
 (0)