diff options
author | Stephen Finucane <stephen@that.guru> | 2018-01-26 12:41:50 +0300 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-01-26 12:41:50 +0300 |
commit | f3074d17470f5a403166176a9efd6198505d891c (patch) | |
tree | 9e4747c5dd384e280de455d5fca64562f76c735a /setup.cfg | |
parent | 376b6a597d01b945cb4baaab469766610577470c (diff) |
setup: Configure flake8 extension as a local plugin
We don't want to install this as a system plugin. Now that flake8 3.5.0
is in the wild, we can use this.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #4492
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,10 @@ max-line-length = 95 ignore = E116,E241,E251,E741 exclude = .git,.tox,.venv,tests/*,build/*,doc/_build/*,sphinx/search/*,sphinx/pycode/pgen2/*,doc/ext/example*.py +[flake8:local-plugins] +extension = + X101 = utils.checks:sphinx_has_header + [mypy] python_version = 2.7 show_column_numbers = True |