Skip to content

Commit 97676c8

Browse files
committed
Format with black
1 parent dec7f63 commit 97676c8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/semver/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
$ python3 semver-3*-py3-none-any.whl/semver -h
1010
1111
"""
12+
1213
import os.path
1314
import sys
1415
from typing import List, Optional

src/semver/_deprecated.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
.. autofunction: deprecated
55
"""
6+
67
import inspect
78
import warnings
89
from functools import partial, wraps

tests/test_semver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def test_should_fail_with_incompatible_type_for_compatible_match(wrongtype):
131131

132132

133133
def test_should_succeed_with_compatible_subclass_for_is_compatible():
134-
class CustomVersion(Version):
135-
...
134+
class CustomVersion(Version): ...
136135

137136
assert CustomVersion(1, 0, 0).is_compatible(Version(1, 0, 0))

0 commit comments

Comments
 (0)