Skip to content

Commit e10c011

Browse files
committed
Use a non-deprecated PEP8 plugin
1 parent edf7796 commit e10c011

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
mypy --install-types --non-interactive pypuppetdb/ tests/
2626
- name: Test
2727
run: |
28-
pytest --cov=. --cov-report=xml --pep8 --strict-markers --mypy pypuppetdb tests
28+
pytest --cov=. --cov-report=xml --flake8 --strict-markers --mypy pypuppetdb tests
2929
- name: Upload coverage to Codecov
3030
uses: codecov/codecov-action@v2
3131
with:

pytest.ini

-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
[pytest]
2-
filterwarnings =
3-
ignore::DeprecationWarning
4-
ignore::PendingDeprecationWarning
5-
markers =
6-
pep8: workaround for https://bitbucket.org/pytest-dev/pytest-pep8/issues/23/
72
pep8maxlinelength = 100
8-
addopts = --cov=pypuppetdb --cov-report=term-missing
93
norecursedirs = docs .tox venv .eggs lib
104
python_files = tests/*.py

requirements-test.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pep8
55
mock
66
pytest<7
77
pytest-cov
8-
pytest-pep8
8+
pytest-flake8
99
pytest-mock
1010
pytest-mypy
1111
cov-core

0 commit comments

Comments
 (0)