From: Oleg Broytman Date: Sun, 25 Sep 2016 01:02:12 +0000 (+0300) Subject: Exclude tests/conftest.py from flake8 tests with directive X-Git-Tag: 0.0.6~8 X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=commitdiff_plain;h=ff5a3c5c7a9ae00017e1427bdfb15bc7cb3b89e1 Exclude tests/conftest.py from flake8 tests with directive --- diff --git a/setup.cfg b/setup.cfg index 597917f..e38bff0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,5 +11,5 @@ tag_date = 0 tag_svn_revision = 0 [flake8] -exclude = .git,.tox,docs/conf.py,tests/conftest.py,ez_setup.py +exclude = .git,.tox,docs/conf.py,ez_setup.py diff --git a/tests/conftest.py b/tests/conftest.py index b1fda3b..16600e7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ -# noqa: imported for pytest +# flake8: noqa +# Skip testing the entire module: names here are imported for pytest from sqlobject.conftest import \ pytest_addoption, pytest_configure, setup_tests