Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ repos:
- id: requirements-txt-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.2.2
rev: v0.15.8
hooks:
# Run the linter.
- id: ruff
- id: ruff-check
types_or: [ python, pyi, jupyter ]
args: [ --fix ]
# Run the formatter.
Expand Down
2 changes: 1 addition & 1 deletion WaterNetworkAnalysis/WaterNetworkAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def align_trajectory(
raise Exception(exception_string)
if align_target_file_name in {trajectory, topology}:
exception_string = (
"align_target_file_name name cannot be the same as " "trajectory or topology"
"align_target_file_name name cannot be the same as trajectory or topology"
)
raise Exception(exception_string)
if topology is not None:
Expand Down
Loading