File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed
Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1616
1717
1818def 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"
2220 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__" )]
2622 if len (version_read ) > 1 :
2723 raise ValueError ('Multiple version found in "pytest_monitor" package!' )
2824 if not version_read :
@@ -66,7 +62,7 @@ def read_version():
6662
6763# General information about the project.
6864project = "pytest-monitor"
69- copyright = "2019, Jean-Sébastien Dieu"
65+ copyright = "2019, Jean-Sébastien Dieu" # noqa A001
7066author = "Jean-Sébastien Dieu"
7167
7268# 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 = [
6666]
6767
6868[tool .flake8 ]
69- max_line_length = 120
69+ max-line-length = 120
7070
7171[tool .black ]
7272line-length = 120
Original file line number Diff line number Diff line change @@ -6,6 +6,4 @@ flake8-simplify=0.19.3
66flake8-comprehensions=3.10.1
77flake8-pytest-style=1.6.0
88flake8-return=1.2.0
9- flake8-no-pep420=2.7.0
109flake8-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
22memory_profiler >= 0.58
33pytest
44requests
5- black
6- isort
You can’t perform that action at this time.
0 commit comments