Skip to content

Commit 361ca77

Browse files
Tell codespell to skip fixture / fix pre-commit (#1197)
* Tell codespell to skip `fixture` This will avoid this kind of warnings: WARNING: Decoding file using encoding=utf-8 failed: fixture/8/0/11 WARNING: Trying next encoding iso-8859-1 Seen in: https://results.pre-commit.ci/run/github/48049137/1666036569.rj425j-vQKyvNbJ0CUHdcQ * pre-commit: Remove the hard requirement for Python 3.9
1 parent e8f6fef commit 361ca77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33
autofix_commit_msg: "style: pre-commit fixes"
44
default_stages: [commit, push]
55
default_language_version:
6-
python: python3.9
6+
python: python3
77
repos:
88
- repo: https://github.com/PyCQA/flake8
99
rev: 3.8.2
@@ -18,7 +18,7 @@ repos:
1818
rev: v2.1.0
1919
hooks:
2020
- id: codespell
21-
args: ["-L", "ba,ihs,kake,nd,noe,nwo,te"]
21+
args: ["-L", "ba,ihs,kake,nd,noe,nwo,te", "-S", "fixture"]
2222
- repo: https://github.com/pre-commit/pre-commit-hooks
2323
rev: v2.3.0
2424
hooks:

0 commit comments

Comments
 (0)