From 1e3475a4ad5945ee2693e0f4711bc42283e9ebb3 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sat, 14 Jun 2025 21:44:58 -0400 Subject: [PATCH] updates ruff config to 'current' standar --- pyproject.toml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c5cf96f..384d6da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]