Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ repos:
- --all

- repo: https://github.com/PyCQA/isort
rev: '7.0.0'
rev: '8.0.1'
hooks:
- id: isort
args:
- --profile=black

- repo: https://github.com/psf/black
rev: '25.11.0'
- repo: https://github.com/psf/black-pre-commit-mirror
rev: '26.1.0'
hooks:
- id: black
args:
Expand Down
6 changes: 2 additions & 4 deletions tests/test_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ def user_rules():
new_local_path = tempfile.gettempdir()
pyoperators.config.LOCAL_PATH = new_local_path
with open(os.path.join(new_local_path, 'rules.txt'), 'w') as f:
f.write(
"""
f.write("""
d1 = 3
d2 = 'value2' # comment
incorrect1
Expand All @@ -390,8 +389,7 @@ def user_rules():
# comment
d3 = incorrect2
d4 = 'value4' = incorrect3
d1 = 4"""
)
d1 = 4""")

yield

Expand Down