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
|
||||
hooks:
|
||||
- id: black
|
||||
exclude: ^test_simulation_files/
|
||||
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 6.0.1
|
||||
@@ -18,7 +17,6 @@ repos:
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
exclude: ^test_simulation_files/
|
||||
|
||||
# Configuration for specific tools
|
||||
default_language_version:
|
||||
@@ -37,4 +35,4 @@ exclude: |
|
||||
dist/|
|
||||
build/|
|
||||
test_simulation_files/
|
||||
)$
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user