1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 00:38:06 +00:00

updates ruff config to 'current' standar

This commit is contained in:
Jason Hall 2025-06-14 21:44:58 -04:00
parent cf137bd7e8
commit 1e3475a4ad
No known key found for this signature in database
GPG key ID: 8F4072E405CC6117

View file

@ -107,6 +107,24 @@ exclude = [
"hyperglass/api/examples/*.py",
"hyperglass/compat/_sshtunnel.py",
]
line-length = 100
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint]
fixable=["ALL"]
unfixable=[]
select = ["B", "C", "D", "E", "F", "I", "N", "S", "RET", "W"]
ignore = [
# "W503",
"RET504",
@ -128,14 +146,6 @@ ignore = [
"B905", # zip without `strict`
"W293", # blank line contains whitespace
]
line-length = 100
select = ["B", "C", "D", "E", "F", "I", "N", "S", "RET", "W"]
[tool.ruff.pydocstyle]
convention = "pep257"
[tool.ruff.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"hyperglass/main.py" = ["E402"]