chore: update linters and replace black with ruff-format

This commit is contained in:
cătălin 2024-05-17 18:47:56 +02:00
commit e156ea4108
No known key found for this signature in database
3 changed files with 8 additions and 13 deletions

View file

@ -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",