Swapped flake8 to ruff

This commit is contained in:
Kristofers Solo 2023-06-16 19:24:01 +03:00
parent 134fe828c7
commit c1097eadec

View File

@ -1,12 +1,8 @@
[build-system]
requires = ["setuptools>=42.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.mypy] [tool.mypy]
check_untyped_defs = true check_untyped_defs = true
disallow_any_generics = true disallow_any_generics = true
ignore_missing_imports = true ignore_missing_imports = true
mypy_path = "FOSSDB_web" mypy_path = "FOSSDB"
no_implicit_optional = true no_implicit_optional = true
no_implicit_reexport = true no_implicit_reexport = true
show_error_codes = true show_error_codes = true
@ -15,3 +11,10 @@ warn_redundant_casts = true
warn_return_any = true warn_return_any = true
warn_unreachable = true warn_unreachable = true
warn_unused_configs = true warn_unused_configs = true
[tool.ruff]
line-length = 160
[tool.ruff.flake8-quotes]
docstring-quotes = "double"