File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -66,6 +66,46 @@ content-type = "text/x-rst"
6666[project .scripts ]
6767doc8 = " doc8.main:main"
6868
69+ [tool .pytest ]
70+ filterwarnings = [
71+ " error" ,
72+ # docutils planned change in 0.21 without clear solution yet
73+ " ignore:The frontend.*:DeprecationWarning"
74+ ]
75+
76+ [[tool .mypy .overrides ]]
77+ module = [
78+ " pbr" ,
79+ " restructuredtext_lint" ,
80+ " stevedore" ,
81+ ]
82+ ignore_missing_imports = true
83+
84+ [tool .pylint ."MESSAGES CONTROL" ]
85+
86+ disable = [
87+ # TODO(ssbarnea): remove temporary skips adding during initial adoption:
88+ " attribute-defined-outside-init" ,
89+ " consider-using-f-string" ,
90+ " invalid-name" ,
91+ " missing-class-docstring" ,
92+ " missing-function-docstring" ,
93+ " missing-module-docstring" ,
94+ " no-self-use" ,
95+ " too-few-public-methods" ,
96+ " too-many-arguments" ,
97+ " too-many-branches" ,
98+ " too-many-instance-attributes" ,
99+ " too-many-locals" ,
100+ " too-many-nested-blocks" ,
101+ " too-many-statements" ,
102+ " unused-variable" ,
103+ " useless-object-inheritance" ,
104+ ]
105+
106+ [tool .pylint .REPORTS ]
107+ output-format = " colorized"
108+
69109[tool .setuptools ]
70110# use-scm-version = "True" # Does not pass validate-pyproject
71111package-dir = {"" = " src" }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments