From 6f43b6b54926a54d0e7c20bf08dbff05326e18be Mon Sep 17 00:00:00 2001 From: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:47:20 +0200 Subject: [PATCH] Ruff config --- pyproject.toml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0627a3e4b0b..bff792e019c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -203,13 +203,28 @@ target-version = "py38" # This is an introductory addition of ruff. We should look to adding: # D: pydocstyle, PD: pandas-vet # All options here: https://github.com/charliermarsh/ruff#supported-rules -select = ["E", "W", "F", "Q", "S", "UP", "I", "PLC", "PLE", "PLR", "PLW", "SIM", "T20"] +select = [ + "E", + "W", + "F", + "Q", + "S", + "UP", + "I", + "PLC", + "PLE", + "PLR", + "PLW", + "SIM", + "T20", +] # These ignores should be seen as temporary solutions to problems that will NEED fixed ignore = ["PLR2004", "PLR0913", "PLR0915"] exclude = ["^openbb_sdk/sdk/core/openbb_core/app/static/package/.*"] [tool.ruff.per-file-ignores] "*tests/*" = ["S101"] +"*integration/*" = ["S101"] "*init*.py" = ["F401"] "website/*" = ["T201"]