Skip to content

Commit 87b1fff

Browse files
authored
chore(pre-commit): remove flake8 hook (#5324)
Problem - flake8 is redundant with ruff in pre-commit and adds extra dependency/latency. Change - Remove the flake8 repo hook from .pre-commit-config.yaml. Authored by OpenClaw (model: gpt-5.2) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Removed Flake8 linting tool from the development pre-commit pipeline. This change reduces external dependencies and maintenance overhead for developers. The pre-commit pipeline continues to function normally with other configured quality checks remaining active. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 4ce5c73 commit 87b1fff

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ repos:
3939
- id: ruff-format
4040
exclude: ^source/3rdparty
4141
types_or: [python, pyi, jupyter]
42-
- repo: https://github.com/pycqa/flake8
43-
# flake8 cannot autofix
44-
rev: "7.3.0"
45-
hooks:
46-
- id: flake8
47-
additional_dependencies:
48-
- torchfix==0.7.0
49-
- flake8-pyproject==1.2.3
5042
# numpydoc
5143
- repo: https://github.com/Carreau/velin
5244
rev: 0.0.12

0 commit comments

Comments
 (0)