diff --git a/cf_units/__init__.py b/cf_units/__init__.py index 7032efb7..454bd51c 100644 --- a/cf_units/__init__.py +++ b/cf_units/__init__.py @@ -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): diff --git a/cf_units/tests/test_coding_standards.py b/cf_units/tests/test_coding_standards.py index e6bed081..b0cd6320 100644 --- a/cf_units/tests/test_coding_standards.py +++ b/cf_units/tests/test_coding_standards.py @@ -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])