Skip to content

Commit 095de5c

Browse files
Improve pre-commit configuration (#668)
* Python 3 is the default nowadays, no need to specify it. * Update pre-commmit less often that the "weekly" default. Co-authored-by: David Stansby <[email protected]>
1 parent 9cd6bde commit 095de5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
exclude: ^fixture/ # files with trailing whitespaces on purpose
22
ci:
33
autoupdate_commit_msg: "chore: update pre-commit hooks"
4+
autoupdate_schedule: "monthly"
45
autofix_commit_msg: "style: pre-commit fixes"
56
autofix_prs: false
67
default_stages: [pre-commit, pre-push]
7-
default_language_version:
8-
python: python3
98
repos:
109
- repo: https://github.com/pre-commit/pre-commit-hooks
1110
rev: v5.0.0
@@ -27,7 +26,7 @@ repos:
2726
- id: sp-repo-review
2827

2928
- repo: https://github.com/pre-commit/mirrors-mypy
30-
rev: 'v1.14.0'
29+
rev: v1.14.0
3130
hooks:
3231
- id: mypy
3332
args: [--config-file, pyproject.toml]

0 commit comments

Comments
 (0)