Update project settings
This commit is contained in:
parent
946f2edb42
commit
24bea31f38
14
docs/conf.py
14
docs/conf.py
@ -5,13 +5,13 @@
|
|||||||
import typing
|
import typing
|
||||||
|
|
||||||
# https://github.com/sphinx-doc/sphinx/issues/9243
|
# https://github.com/sphinx-doc/sphinx/issues/9243
|
||||||
# pylint: disable=unused-import
|
import sphinx.builders.html as _1
|
||||||
import sphinx.builders.html # noqa
|
import sphinx.builders.latex as _2
|
||||||
import sphinx.builders.latex # noqa
|
import sphinx.builders.texinfo as _3
|
||||||
import sphinx.builders.texinfo # noqa
|
import sphinx.builders.text as _4
|
||||||
import sphinx.builders.text # noqa
|
import sphinx.ext.autodoc as _5
|
||||||
import sphinx.ext.autodoc # noqa
|
|
||||||
import sphinx_rtd_theme # type: ignore # noqa
|
__all__ = ['_1', '_2', '_3', '_4', '_5']
|
||||||
|
|
||||||
# pylint: disable=invalid-name,redefined-builtin
|
# pylint: disable=invalid-name,redefined-builtin
|
||||||
|
|
||||||
|
|||||||
@ -156,6 +156,8 @@ max-line-length = 100
|
|||||||
enable = all
|
enable = all
|
||||||
disable =
|
disable =
|
||||||
duplicate-code,
|
duplicate-code,
|
||||||
|
locally-disabled,
|
||||||
|
suppressed-message,
|
||||||
ungrouped-imports,
|
ungrouped-imports,
|
||||||
# isort (pylint FAQ)
|
# isort (pylint FAQ)
|
||||||
wrong-import-order,
|
wrong-import-order,
|
||||||
@ -166,7 +168,7 @@ disable =
|
|||||||
# pep8-naming (pylint FAQ, keep: invalid-name)
|
# pep8-naming (pylint FAQ, keep: invalid-name)
|
||||||
bad-classmethod-argument,
|
bad-classmethod-argument,
|
||||||
bad-mcs-classmethod-argument,
|
bad-mcs-classmethod-argument,
|
||||||
no-self-argument
|
no-self-argument,
|
||||||
# pycodestyle (pylint FAQ)
|
# pycodestyle (pylint FAQ)
|
||||||
bad-indentation,
|
bad-indentation,
|
||||||
bare-except,
|
bare-except,
|
||||||
@ -203,6 +205,7 @@ addopts =
|
|||||||
--cov-branch
|
--cov-branch
|
||||||
--cov-report=html
|
--cov-report=html
|
||||||
--cov-report=term
|
--cov-report=term
|
||||||
|
--cov-report=xml
|
||||||
--no-cov-on-fail
|
--no-cov-on-fail
|
||||||
--junitxml=report.xml
|
--junitxml=report.xml
|
||||||
junit_family=xunit2
|
junit_family=xunit2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user