Skip to content

Commit a4dc1c1

Browse files
Migrate from fix-encoding-pragma to pyupgrade as advised
1 parent e8588ac commit a4dc1c1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ repos:
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer
13-
- id: fix-encoding-pragma
14-
args: [--remove]
1513
- id: check-yaml
1614
language_version: python3
1715

@@ -42,6 +40,11 @@ repos:
4240
- id: pyupgrade
4341
args: [--py37-plus]
4442

43+
- repo: https://github.com/asottile/pyupgrade
44+
rev: v3.20.0
45+
hooks:
46+
- id: pyupgrade
47+
4548
- repo: https://github.com/rhysd/actionlint
4649
rev: v1.7.7
4750
hooks:

0 commit comments

Comments
 (0)