From 00bf1b0a5d4d13ba0922548551fd0bfd1aa940d2 Mon Sep 17 00:00:00 2001 From: Deathn0t Date: Mon, 10 Mar 2025 08:41:32 +0100 Subject: [PATCH] adding rules for ruff lint doc examples --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 44278ecf..a5125ae0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,7 @@ exclude_lines = ["if __name__ == '__main__':"] [tool.ruff] exclude = [ "docs", - "examples", + # "examples", "src/deephyper/skopt", "src/deephyper/analysis/hpo/_paxplot.py", "tests/skopt", @@ -137,6 +137,7 @@ ignore = ["D107"] convention = "google" [tool.ruff.lint.per-file-ignores] +"examples/*" = ["D205", "D212", "D415", "E501", "D103"] "tests/*" = ["D"] [tool.uv.workspace]