From c8e26a2140e8638f738313de5ca0fc2fa77f3284 Mon Sep 17 00:00:00 2001 From: florianj77 Date: Mon, 13 Feb 2023 11:50:37 +0100 Subject: [PATCH] updated ruff settings --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9268726d..b4bc24d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ select = [ # flake8-2020 "YTT", # flake8-annotations - "ANN", + # "ANN", # flake8-bugbear "B", # flake8-builtins @@ -63,7 +63,7 @@ select = [ # flake8-simplyfy # "SIM", # pylint - "PLE", "PLR", "PLW", + # "PLE", "PLR", "PLW", ] @@ -121,7 +121,6 @@ exclude = [ "node_modules", "venv", ] -per-file-ignores = {} # Same as Black. line-length = 88 @@ -132,6 +131,9 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Assume Python 3.11. target-version = "py39" +[tool.ruff.per-file-ignores] +"protex/tests/*" = ["D103", "D100"] # docstring for function + [tool.ruff.pydocstyle] convention = "numpy" # Accepts: "google", "numpy", or "pep257".