generated from dopt-python/py311
updated config for Ruff and PyRight
This commit is contained in:
+9
-1
@@ -14,6 +14,14 @@ license = {text = "LicenseRef-Proprietary"}
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
||||
[tool.pyright]
|
||||
typeCheckingMode = "basic"
|
||||
pythonVersion = "3.11"
|
||||
reportUnusedImport = "none"
|
||||
reportUnusedVariable = "warning"
|
||||
reportUnusedClass = "warning"
|
||||
reportUnusedFunction = "warning"
|
||||
reportPrivateUsage = "error"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 94
|
||||
@@ -26,7 +34,7 @@ quote-style = "double"
|
||||
skip-magic-trailing-comma = false
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I"]
|
||||
select = ["E", "F", "I", "SLF"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
extra-standard-library = ["typing_extensions"]
|
||||
|
||||
Reference in New Issue
Block a user