Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97676c8

Browse filesBrowse files
committed
Format with black
1 parent dec7f63 commit 97676c8
Copy full SHA for 97676c8

File tree

3 files changed

+3
-2
lines changed
Filter options

3 files changed

+3
-2
lines changed

‎src/semver/__main__.py

Copy file name to clipboardExpand all lines: src/semver/__main__.py
+1Lines 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

Copy file name to clipboardExpand all lines: src/semver/_deprecated.py
+1Lines 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

Copy file name to clipboardExpand all lines: tests/test_semver.py
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.