]> git.phdru.name Git - sqlconvert.git/commitdiff
Exclude tests/conftest.py from flake8 tests with directive
authorOleg Broytman <phd@phdru.name>
Sun, 25 Sep 2016 01:02:12 +0000 (04:02 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 25 Sep 2016 01:02:12 +0000 (04:02 +0300)
setup.cfg
tests/conftest.py

index 597917f5e7e2680e471e22af496e6ee81321b9dd..e38bff090630e103ba8c4957fc49528590ffe5b2 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,5 +11,5 @@ tag_date = 0
 tag_svn_revision = 0
 
 [flake8]
 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
 
 
index b1fda3bbea5945bebb58f95d0bd4c28fa4fbb606..16600e7fc0027adcfe396db09456225ccf01b666 100644 (file)
@@ -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
 
 from sqlobject.conftest import \
     pytest_addoption, pytest_configure, setup_tests