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"]