From c90ff22732fdc113f30db4830617c051594764f9 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 20 Dec 2022 18:18:56 +0000 Subject: [PATCH] Clear dotfiles --- .gitreview | 4 ---- .pylintrc | 23 ----------------------- mypy.ini | 8 -------- pyproject.toml | 40 ++++++++++++++++++++++++++++++++++++++++ pytest.ini | 5 ----- 5 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 .gitreview delete mode 100644 .pylintrc delete mode 100644 mypy.ini delete mode 100644 pytest.ini diff --git a/.gitreview b/.gitreview deleted file mode 100644 index 5145876..0000000 --- a/.gitreview +++ /dev/null @@ -1,4 +0,0 @@ -[gerrit] -host=review.openstack.org -port=29418 -project=openstack/doc8.git diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index f881d4e..0000000 --- a/.pylintrc +++ /dev/null @@ -1,23 +0,0 @@ -[MESSAGES CONTROL] - -disable = - # TODO(ssbarnea): remove temporary skips adding during initial adoption: - attribute-defined-outside-init, - consider-using-f-string, - invalid-name, - missing-class-docstring, - missing-function-docstring, - missing-module-docstring, - no-self-use, - too-few-public-methods, - too-many-arguments, - too-many-branches, - too-many-instance-attributes, - too-many-locals, - too-many-nested-blocks, - too-many-statements, - unused-variable, - useless-object-inheritance, - -[REPORTS] -output-format = colorized diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index d8f6a2c..0000000 --- a/mypy.ini +++ /dev/null @@ -1,8 +0,0 @@ -[mypy-pbr] -ignore_missing_imports = True - -[mypy-restructuredtext_lint] -ignore_missing_imports = True - -[mypy-stevedore] -ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index a4504f3..fafb74a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,6 +66,46 @@ content-type = "text/x-rst" [project.scripts] doc8 = "doc8.main:main" +[tool.pytest] +filterwarnings = [ + "error", + # docutils planned change in 0.21 without clear solution yet + "ignore:The frontend.*:DeprecationWarning" +] + +[[tool.mypy.overrides]] +module = [ + "pbr", + "restructuredtext_lint", + "stevedore", +] +ignore_missing_imports = true + +[tool.pylint."MESSAGES CONTROL"] + +disable = [ + # TODO(ssbarnea): remove temporary skips adding during initial adoption: + "attribute-defined-outside-init", + "consider-using-f-string", + "invalid-name", + "missing-class-docstring", + "missing-function-docstring", + "missing-module-docstring", + "no-self-use", + "too-few-public-methods", + "too-many-arguments", + "too-many-branches", + "too-many-instance-attributes", + "too-many-locals", + "too-many-nested-blocks", + "too-many-statements", + "unused-variable", + "useless-object-inheritance", +] + +[tool.pylint.REPORTS] +output-format = "colorized" + [tool.setuptools] # use-scm-version = "True" # Does not pass validate-pyproject package-dir = {"" = "src"} diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index b3b2709..0000000 --- a/pytest.ini +++ /dev/null @@ -1,5 +0,0 @@ -[pytest] -filterwarnings = - error - # docutils planned change in 0.21 without clear solution yet - ignore:The frontend.*:DeprecationWarning