From a027dc4eb4a1c46ec04565c607f6ad94ccf9e065 Mon Sep 17 00:00:00 2001 From: ooiM Date: Thu, 4 Feb 2016 23:28:47 +0000 Subject: [PATCH] Reinstate pytest.ini, ignore E501 for flake8 See also pytest-dev/pytest#567, pytest-dev/pytest#1311 --- pytest.ini | 3 +++ setup.cfg | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..2004277 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +flake8-ignore = E501 +addopts = --flake8 --cram diff --git a/setup.cfg b/setup.cfg index 2618d2c..195e5f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ [aliases] test=pytest -[pytest] -addopts = --flake8 --cram +[flake8] +ignore = E501