diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-02-08 22:12:06 +0100 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2021-03-03 22:38:02 +0100 |
commit | 2afc53804b3c150187fe56e77829ac4f792e2893 (patch) | |
tree | c395708a2c0783584dcb142072572a6b45e1805a /setup.cfg | |
parent | a63b23392fc31766e32b8650127d9006ee189a0f (diff) | |
download | sqlalchemy-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.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |