Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed Apr 22, 2024
1 parent 3f13437 commit 6a0a79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/defects/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ def _hash_float(x: float) -> float:
lines_dd[_hash_float(m)] = min(lines_dd[_hash_float(m)], b)
lines = list(lines_dd.items())

if len(lines) < 1:
if len(lines) < 1: # pragma: no cover
msg = "Need at least one line to get lower envelope."
raise ValueError(msg)
if len(lines) == 1:
Expand Down

0 comments on commit 6a0a79e

Please sign in to comment.