Skip to content

Commit a7e2984

Browse files
committed
misc: Update precommit to include flake8
1 parent 0ab3cb1 commit a7e2984

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ repos:
1313
hooks:
1414
# Run isort to check only (don't modify files)
1515
- id: isort
16-
args: [ --check-only ]
16+
args: [--check-only, --filter-files]
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
1818
# Ruff version.
1919
rev: v0.14.4
2020
hooks:
2121
# Run the linter to check only (don't modify files)
2222
- id: ruff-check
23+
- repo: https://github.com/PyCQA/flake8
24+
rev: 7.3.0
25+
hooks:
26+
- id: flake8
27+
additional_dependencies: [flake8-pyproject]
2328
- repo: https://github.com/crate-ci/typos
2429
rev: v1.39.1
2530
hooks:

0 commit comments

Comments
 (0)