Skip to content

Commit

Permalink
black formatter skip two strang files
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuzhongshu123 committed Nov 15, 2024
1 parent e62a84d commit 51fe78e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ repos:
hooks:
- id: black
files: ^kag/.*\.py$
exclude: |
(?x)^(
kag/solver/logic/core_modules/rule_runner/rule_runner.py |
kag/solver/logic/core_modules/parser/logic_node_parser.py
)$
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
files: ^kag/.*\.py$

0 comments on commit 51fe78e

Please sign in to comment.