Skip to content

Commit 02d8f10

Browse files
authored
Merge pull request #240 from pytest-dev/black
Reformat with black
2 parents 430d69a + 4ec2b8f commit 02d8f10

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

setup.py

+3-11
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@
66

77
def find_version():
88
version_file = (
9-
Path(__file__)
10-
.parent.joinpath("pytest_asyncio", "__init__.py")
11-
.read_text()
12-
)
13-
version_match = re.search(
14-
r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M
9+
Path(__file__).parent.joinpath("pytest_asyncio", "__init__.py").read_text()
1510
)
11+
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
1612
if version_match:
1713
return version_match.group(1)
1814

@@ -44,11 +40,7 @@ def find_version():
4440
python_requires=">= 3.7",
4541
install_requires=["pytest >= 5.4.0"],
4642
extras_require={
47-
"testing": [
48-
"coverage",
49-
"hypothesis >= 5.7.1",
50-
"flaky >= 3.5.0"
51-
],
43+
"testing": ["coverage", "hypothesis >= 5.7.1", "flaky >= 3.5.0"],
5244
},
5345
entry_points={"pytest11": ["asyncio = pytest_asyncio.plugin"]},
5446
)

0 commit comments

Comments
 (0)