Skip to content

Commit e6335e9

Browse files
committed
setup.py: add autopep8
1 parent 3bd8f1b commit e6335e9

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
"tests"
99
],
1010
"python.testing.pytestEnabled": true,
11-
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest"
11+
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
12+
"python.formatting.provider": "autopep8",
13+
"python.formatting.autopep8Path": "${workspaceFolder}/.venv/bin/autopep8"
1214
}

pytest_httpserver/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
"""
55

6+
# flake8: noqa
7+
68
from .httpserver import HTTPServer
79
from .httpserver import HTTPServerError, Error, NoHandlerError
810
from .httpserver import WaitingSettings, HeaderValueMatcher, RequestHandler

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"sphinx",
3535
"sphinx_rtd_theme",
3636
"reno",
37+
"autopep8",
3738
],
3839
"test": [
3940
"pytest",

0 commit comments

Comments
 (0)