Skip to content

Commit a027dc4

Browse files
committed
Reinstate pytest.ini, ignore E501 for flake8
See also pytest-dev/pytest#567, pytest-dev/pytest#1311
1 parent 914377b commit a027dc4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
flake8-ignore = E501
3+
addopts = --flake8 --cram

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[aliases]
22
test=pytest
3-
[pytest]
4-
addopts = --flake8 --cram
3+
[flake8]
4+
ignore = E501

0 commit comments

Comments
 (0)