summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-02-08 22:12:06 +0100
committerFederico Caselli <cfederico87@gmail.com>2021-03-03 22:38:02 +0100
commit2afc53804b3c150187fe56e77829ac4f792e2893 (patch)
treec395708a2c0783584dcb142072572a6b45e1805a /setup.cfg
parenta63b23392fc31766e32b8650127d9006ee189a0f (diff)
downloadsqlalchemy-2afc53804b3c150187fe56e77829ac4f792e2893.tar.gz
Ignore flake8 F401 on specific files
Uses the flake8 option per-file-ignores that was introduced in a recent version of flake8 (3.7.+) to avoid having lots of "noqa" in import only files Change-Id: Ib4871d63bad7e578165615df139cbf6093479201
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index cdd9894d6..1e11063f3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -101,6 +101,12 @@ ignore =
exclude = .venv,.git,.tox,dist,doc,*egg,build
import-order-style = google
application-import-names = sqlalchemy,test
+per-file-ignores =
+ **/__init__.py:F401
+ lib/sqlalchemy/events.py:F401
+ lib/sqlalchemy/schema.py:F401
+ lib/sqlalchemy/types.py:F401
+ lib/sqlalchemy/sql/expression.py:F401
[sqla_testing]
requirement_cls = test.requirements:DefaultRequirements