Add new extras_require: lint

This commit is contained in:
Takeshi KOMIYA 2020-01-23 00:42:59 +09:00
parent 204564549c
commit 00a4c13d0b
2 changed files with 11 additions and 7 deletions

View File

@ -41,15 +41,18 @@ extras_require = {
'docs': [
'sphinxcontrib-websupport',
],
'test': [
'pytest < 5.3.3',
'pytest-cov',
'html5lib',
'lint': [
'flake8>=3.5.0',
'flake8-import-order',
'mypy>=0.761',
'docutils-stubs',
],
'test': [
'pytest < 5.3.3',
'pytest-cov',
'html5lib',
'typed_ast', # for py35-37
],
}
# Provide a "compile_catalog" command that also creates the translated

View File

@ -27,6 +27,8 @@ commands=
basepython = python3
description =
Run style checks.
extras =
lint
commands =
flake8
@ -54,9 +56,8 @@ commands =
basepython = python3
description =
Run type checks.
deps =
mypy
docutils-stubs
extras =
lint
commands=
mypy sphinx/