chore: update linters and replace black with ruff-format
This commit is contained in:
parent
3d93be39d6
commit
e156ea4108
3 changed files with 8 additions and 13 deletions
|
|
@ -86,8 +86,9 @@ mock_use_standalone_module = true
|
|||
[tool.pyright]
|
||||
reportMissingImports = false
|
||||
reportMissingTypeStubs = false
|
||||
reportAttributeAccessIssue = false
|
||||
|
||||
[tool.ruff]
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["W", "C90", "I", "N", "UP", "S", "BLE", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET", "SIM", "PTH", "ERA", "PGH", "PL", "TRY", "RUF"]
|
||||
extend-ignore = ["S101", "ISC002"]
|
||||
|
||||
|
|
@ -95,6 +96,7 @@ extend-ignore = ["S101", "ISC002"]
|
|||
python_version = "3.11"
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"pyrage",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue