fix: correct pre-commit global exclude pattern and remove redundant excludes
- Remove $ anchor from global exclude pattern to properly exclude files within directories - Remove redundant exclude properties from black and ruff hooks since global exclude now handles it - Ensures isort hook also excludes test_simulation_files/ consistently Addresses reviewer feedback on PR #217
This commit is contained in:
@@ -5,7 +5,6 @@ repos:
|
|||||||
rev: 25.1.0
|
rev: 25.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
exclude: ^test_simulation_files/
|
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 6.0.1
|
rev: 6.0.1
|
||||||
@@ -18,7 +17,6 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
exclude: ^test_simulation_files/
|
|
||||||
|
|
||||||
# Configuration for specific tools
|
# Configuration for specific tools
|
||||||
default_language_version:
|
default_language_version:
|
||||||
@@ -37,4 +35,4 @@ exclude: |
|
|||||||
dist/|
|
dist/|
|
||||||
build/|
|
build/|
|
||||||
test_simulation_files/
|
test_simulation_files/
|
||||||
)$
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user