Update project settings

This commit is contained in:
Marko Durkovic 2022-04-10 23:33:44 +02:00
parent 946f2edb42
commit 24bea31f38
3 changed files with 11 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -1,7 +0,0 @@
# Copyright 2020-2021 Ternaris.
# SPDX-License-Identifier: Apache-2.0
"""Minimal setuptools boilerplate."""
from setuptools import setup # type: ignore
setup()