mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Swapped flake8 to ruff
This commit is contained in:
parent
134fe828c7
commit
c1097eadec
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user