diff --git a/docs/conf.py b/docs/conf.py index e0b0441f..17b2ed43 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,13 +5,13 @@ import typing # https://github.com/sphinx-doc/sphinx/issues/9243 -# pylint: disable=unused-import -import sphinx.builders.html # noqa -import sphinx.builders.latex # noqa -import sphinx.builders.texinfo # noqa -import sphinx.builders.text # noqa -import sphinx.ext.autodoc # noqa -import sphinx_rtd_theme # type: ignore # noqa +import sphinx.builders.html as _1 +import sphinx.builders.latex as _2 +import sphinx.builders.texinfo as _3 +import sphinx.builders.text as _4 +import sphinx.ext.autodoc as _5 + +__all__ = ['_1', '_2', '_3', '_4', '_5'] # pylint: disable=invalid-name,redefined-builtin diff --git a/setup.cfg b/setup.cfg index aee0ae1b..8aa10ecb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -156,6 +156,8 @@ max-line-length = 100 enable = all disable = duplicate-code, + locally-disabled, + suppressed-message, ungrouped-imports, # isort (pylint FAQ) wrong-import-order, @@ -166,7 +168,7 @@ disable = # pep8-naming (pylint FAQ, keep: invalid-name) bad-classmethod-argument, bad-mcs-classmethod-argument, - no-self-argument + no-self-argument, # pycodestyle (pylint FAQ) bad-indentation, bare-except, @@ -203,6 +205,7 @@ addopts = --cov-branch --cov-report=html --cov-report=term + --cov-report=xml --no-cov-on-fail --junitxml=report.xml junit_family=xunit2 diff --git a/setup.py b/setup.py deleted file mode 100644 index 10c3180c..00000000 --- a/setup.py +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2020-2021 Ternaris. -# SPDX-License-Identifier: Apache-2.0 -"""Minimal setuptools boilerplate.""" - -from setuptools import setup # type: ignore - -setup()