mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Add a 'tox -e flake8'
This commit is contained in:
parent
391bd5882a
commit
72e7c600f3
2 changed files with 22 additions and 0 deletions
17
setup.cfg
17
setup.cfg
|
|
@ -13,3 +13,20 @@ python = python
|
|||
|
||||
[bdist_wheel]
|
||||
universal = 0
|
||||
|
||||
[flake8]
|
||||
builtins = _
|
||||
max-line-length = 80
|
||||
extend-ignore =
|
||||
# https://pep8.readthedocs.org/en/latest/intro.html#error-codes
|
||||
# these are ignored by default:
|
||||
# E121: continuation line under-indented for hanging indent
|
||||
# E123: closing bracket does not match indentation of opening bracket’s line
|
||||
# E126: continuation line over-indented for hanging indent
|
||||
# E133: closing bracket does not match visual indentation
|
||||
# E226: missing whitespace around arithmetic operator
|
||||
# E241: multiple spaces after ‘,’
|
||||
# E242: tab after ‘,’
|
||||
# E704: multiple statements on one line (def)
|
||||
# W503: line break before binary operator
|
||||
# W504: line break after binary operator
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -31,3 +31,8 @@ deps =
|
|||
pyxdg
|
||||
dnspython
|
||||
{[base]deps}
|
||||
|
||||
[testenv:flake8]
|
||||
deps = flake8
|
||||
skip_install = true
|
||||
commands = flake8 setup.py linkcheck {posargs}
|
||||
|
|
|
|||
Loading…
Reference in a new issue