Skip to content

Commit 3bd8f1b

Browse files
committed
pytest-httpserver: use flake8 instead of pylint
Use flake8 instead of pylint.
1 parent eb8635e commit 3bd8f1b

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"python.pythonPath": "${workspaceFolder}/.venv/bin/python3",
3-
"python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint",
3+
"python.linting.enabled": true,
4+
"python.linting.flake8Enabled": true,
5+
"python.linting.pylintEnabled": false,
6+
"python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
47
"python.testing.pytestArgs": [
58
"tests"
69
],

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ dev: venv
1313
.venv/bin/pip3 install -e .[dev]
1414

1515
cs: venv
16-
.venv/bin/pylint pytest_httpserver
17-
.venv/bin/pycodestyle pytest_httpserver
16+
.venv/bin/flake8 pytest_httpserver tests
1817

1918
mrproper: clean
2019
rm -rf dist

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[aliases]
22
test=pytest
33

4-
[pycodestyle]
4+
[flake8]
55
max-line-length = 145

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
],
2424
extras_require={
2525
"dev": [
26-
"pycodestyle",
27-
"pylint",
26+
"flake8",
2827
"wheel",
2928
"rope",
3029
"pytest",

0 commit comments

Comments
 (0)