Skip to content

Commit 9cbf202

Browse files
committed
Run pre-commit
1 parent 3a78d1e commit 9cbf202

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

adafruit_datetime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070

7171
_INVALID_ISO_ERROR = "Invalid isoformat string: '{}'"
7272

73+
7374
# Utility functions - universal
7475
def _cmp(obj_x: Any, obj_y: Any) -> int:
7576
return 0 if obj_x == obj_y else 1 if obj_x > obj_y else -1
@@ -331,7 +332,6 @@ def __new__(
331332
hours: int = 0,
332333
weeks: int = 0,
333334
) -> "timedelta":
334-
335335
# Check that all inputs are ints or floats.
336336
if not all(
337337
isinstance(i, (int, float))

tests/test_time.py

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def test_harmful_mixed_comparison(self):
6262

6363

6464
class TestTime(HarmlessMixedComparison, unittest.TestCase):
65-
6665
theclass = cpy_time
6766
theclass_cpython = cpython_time
6867

0 commit comments

Comments
 (0)