Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 29, 2024
1 parent 7800edd commit 3872e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smol/cofe/space/clusterspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ def __str__(self):
f" Number of Orbits : {self.num_orbits}",
f"No. of Correlation Functions : {self.num_corr_functions}",
" Cluster Cutoffs : "
f"{', '.join('{}: {:.2f}'.format(s, c) for s, c in self.cutoffs.items())}",
f"{', '.join(f'{s}: {c:.2f}' for s, c in self.cutoffs.items())}",
f" External Terms : {self.external_terms}",
"Orbit Summary",
" ------------------------------------------------------------------------",
Expand Down Expand Up @@ -1537,7 +1537,7 @@ def __repr__(self):
f"Number of Orbits : {self.num_orbits} "
f"No. of Correlation Functions : {self.num_corr_functions}",
"Cluster Cutoffs : "
f"{', '.join('{}: {:.2f}'.format(s, c) for s, c in self.cutoffs.items())}",
f"{', '.join(f'{s}: {c:.2f}' for s, c in self.cutoffs.items())}",
f"External Terms : {self.external_terms}",
]
return "\n".join(outs)
Expand Down

0 comments on commit 3872e82

Please sign in to comment.