Skip to content

Commit

Permalink
Merge pull request #100 from berquist/renovate/astral-sh-ruff-pre-com…
Browse files Browse the repository at this point in the history
…mit-0.x

Update pre-commit hook astral-sh/ruff-pre-commit to v0.9.0
  • Loading branch information
berquist authored Jan 13, 2025
2 parents 2ce1d2c + d1d84fa commit c328c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.0
hooks:
- id: ruff
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion pymolresponse/td.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def print_results_nwchem(self) -> str:
iocc, ivirt = indices_sorted[idx]
lines.append(
f"{idx + 1:>5d}{1:>5d}{iocc + 1:>5d}{ivirt + 1:>5d} "
f'{"X":<5}{moene[iocc]:>10.3f}{moene[ivirt]:>10.3f}{ediff_sorted[idx]:>10.3f}'
f"{'X':<5}{moene[iocc]:>10.3f}{moene[ivirt]:>10.3f}{ediff_sorted[idx]:>10.3f}"
)
lines.append("--------------------------------------------------------")
return "\n".join(lines)
Expand Down

0 comments on commit c328c87

Please sign in to comment.