From 9efff690cfd3f2c3d299b380e7a9fd412c3d7e94 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sat, 21 Feb 2026 10:05:55 -0600 Subject: [PATCH] started ruff rules --- pyproject.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fdfbbda..ecaf4ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,3 +37,23 @@ addopts = [ "--strict-markers", "--strict-config", ] + +[tool.ruff] +line-length = 120 +target-version = "py312" + +[tool.ruff.lint] +select = [ + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "I", # isort + "UP", # pyupgrade + "B", # flake8-bugbear + "C4", # flake8-comprehensions + "SIM", # flake8-simplify +] +ignore = [] + +[tool.ruff.lint.isort] +known-first-party = ["daglib"]