@@ -113,9 +113,6 @@ module = [
113113[tool .pylint .IMPORTS ]
114114preferred-modules = [" py:pathlib" , " unittest:pytest" ]
115115
116- [tool .pylint .MAIN ]
117- extension-pkg-allow-list = [" black.parsing" ]
118-
119116[tool .pylint .MASTER ]
120117bad-names = [
121118 # spell-checker:ignore linenumber
@@ -133,6 +130,7 @@ disable = [
133130 " line-too-long" , # covered by black
134131 " protected-access" , # covered by ruff SLF001
135132 " too-many-branches" , # covered by ruff C901
133+ " wrong-import-order" , # covered by ruff
136134 # TODO(ssbarnea): remove temporary skips adding during initial adoption:
137135 " duplicate-code" ,
138136 # unable to disable it inside tests
@@ -155,17 +153,20 @@ output-format = "colorized"
155153score = " n"
156154
157155[tool .pyright ]
156+ exclude = [" venv" , " .cache" ]
158157include = [" src" ]
158+ mode = " standard"
159159# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file
160- pythonVersion = " 3.10"
161- # https://github.com/microsoft/pyright/issues/777
162- "stubPath" = " "
160+ # pythonVersion = "3.10"
161+ # reportMissingImports = false
162+ # https://github.com/microsoft/pyright/issues/9494
163+ reportPossiblyUnboundVariable = false
163164
164165# spell-checker:ignore filterwarnings norecursedirs optionflags
165166[tool .pytest .ini_options ]
166167# do not add options here as this will likely break either console runs or IDE
167168# integration like vscode or pycharm
168- addopts = " -p no:pytest_cov"
169+ addopts = " -p no:pytest_cov --failed-first "
169170# https://code.visualstudio.com/docs/python/testing
170171# coverage is re-enabled in `tox.ini`. That approach is safer than
171172# `--no-cov` which prevents activation from tox.ini and which also fails
0 commit comments