Skip to content

Commit eb649e5

Browse files
committed
Update pre-commit config and add PyUpgrade hook
1 parent ccf1629 commit eb649e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ repos:
1010
- id: check-merge-conflict
1111
- id: check-yaml
1212
- id: end-of-file-fixer
13-
- id: fix-encoding-pragma
1413
- id: mixed-line-ending
1514
- id: no-commit-to-branch
1615
args: [--branch, main]
1716
- id: trailing-whitespace
1817
args: [--markdown-linebreak-ext=md]
18+
- repo: https://github.com/asottile/pyupgrade
19+
rev: v3.16.0
20+
hooks:
21+
- id: pyupgrade
22+
args: ['--py36-plus']
1923
- repo: https://github.com/python/black
2024
rev: 24.4.2
2125
hooks:

0 commit comments

Comments
 (0)