File tree 4 files changed +4
-12
lines changed
4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 16
16
17
17
18
18
def read_version ():
19
- init = (
20
- pathlib .Path (__file__ ).parent .parent .parent / "pytest_monitor" / "__init__.py"
21
- )
19
+ init = pathlib .Path (__file__ ).parent .parent .parent / "pytest_monitor" / "__init__.py"
22
20
with init .open ("r" ) as pkg_init_f :
23
- version_read = [
24
- line .strip () for line in pkg_init_f if line .startswith ("__version__" )
25
- ]
21
+ version_read = [line .strip () for line in pkg_init_f if line .startswith ("__version__" )]
26
22
if len (version_read ) > 1 :
27
23
raise ValueError ('Multiple version found in "pytest_monitor" package!' )
28
24
if not version_read :
@@ -66,7 +62,7 @@ def read_version():
66
62
67
63
# General information about the project.
68
64
project = "pytest-monitor"
69
- copyright = "2019, Jean-Sébastien Dieu"
65
+ copyright = "2019, Jean-Sébastien Dieu" # noqa A001
70
66
author = "Jean-Sébastien Dieu"
71
67
72
68
# The version info for the project you're documenting, acts as replacement for
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ dev = [
66
66
]
67
67
68
68
[tool .flake8 ]
69
- max_line_length = 120
69
+ max-line-length = 120
70
70
71
71
[tool .black ]
72
72
line-length = 120
Original file line number Diff line number Diff line change @@ -6,6 +6,4 @@ flake8-simplify=0.19.3
6
6
flake8-comprehensions=3.10.1
7
7
flake8-pytest-style=1.6.0
8
8
flake8-return=1.2.0
9
- flake8-no-pep420=2.7.0
10
9
flake8-pyproject=1.2.3
11
- flake8-simplify=0.19.3
Original file line number Diff line number Diff line change @@ -2,5 +2,3 @@ psutil>=5.1.0
2
2
memory_profiler >= 0.58
3
3
pytest
4
4
requests
5
- black
6
- isort
You can’t perform that action at this time.
0 commit comments