Skip to content

Commit aef7161

Browse files
authored
Remove flake8 and mypy hooks from pre-commit (#191)
These hooks cannot fix themselves which defeats the power of pre-commit both locally and in the ci. Both `flake8` and `mypy` checks are now handled by nox. They are available locally with `nox -s lint` and run in the CI as a requirable job.
1 parent 3040992 commit aef7161

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,3 @@ repos:
3030
rev: 25.1.0
3131
hooks:
3232
- id: black
33-
34-
# Flake8 for linting, line-length adjusted to match Black default
35-
- repo: https://github.com/PyCQA/flake8
36-
rev: 7.1.2
37-
hooks:
38-
- id: flake8
39-
additional_dependencies:
40-
- flake8-builtins
41-
- flake8-pep585
42-
- pep8-naming
43-
44-
# Type enforcement for Python
45-
- repo: https://github.com/pre-commit/mirrors-mypy
46-
rev: v1.15.0
47-
hooks:
48-
- id: mypy

0 commit comments

Comments
 (0)