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 Sep 25, 2024
1 parent bb2d5dc commit 889c4bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions cf_units/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,8 +1385,10 @@ def __repr__(self):
if self.calendar is None:
result = f"{self.__class__.__name__}('{self}')"
else:
result = (f"{self.__class__.__name__}"
f"('{self}', calendar='{self.calendar}')")
result = (
f"{self.__class__.__name__}"
f"('{self}', calendar='{self.calendar}')"
)
return result

def _offset_common(self, offset):
Expand Down
4 changes: 2 additions & 2 deletions cf_units/tests/test_coding_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_python_versions():
assert tox_text.count(f"{py_version}-lock") == 3

ci_wheels_text = ci_wheels_file.read_text()
(cibw_line,) = [
(cibw_line,) = (
line for line in ci_wheels_text.splitlines() if "CIBW_SKIP" in line
] # NOQA C419
) # NOQA C419
assert all([p not in cibw_line for p in supported_strip])

0 comments on commit 889c4bd

Please sign in to comment.