Skip to content

Commit 13ffdd8

Browse files
authored
pytest v6 deprecations (#70)
* pytest v6 deprecations new release of pytest makes some deprecation warnings into errors we were getting one from the pytest-pep8 dependency since we've set up linting via gh actions it seemed reasonable just to ditch the dependency * Also added .tox to flake8 excludes cause it seemed like maaaaybe CI might have been chewing on the files in there
1 parent 9ed3cbd commit 13ffdd8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
# Ignore the line length rule because black will handle that
2424
# and flake8 doesn't allow long comment lines.
25-
flake8 . --count --show-source --statistics --extend-ignore=E501
25+
flake8 . --exclude=.tox --count --show-source --statistics --extend-ignore=E501
2626
- name: Lint with black
2727
run: |
2828
black . --check -l 79 --diff

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ skip_missing_interpreters = True
44

55
[testenv]
66
deps=
7+
mock
78
pytest
8-
pytest-pep8
99
pytest-cov
1010

1111
commands=
12-
py.test --ignore=build --pep8 -v --cov=ns1 --cov-report=term tests
12+
py.test --ignore=build -v --cov=ns1 --cov-report=term tests
1313

1414
[testenv:py27]
1515
deps=

0 commit comments

Comments
 (0)