diff --git a/pyproject.toml b/pyproject.toml index df3b0c7fe5d..05f39612a34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,13 +115,13 @@ posthog = "^3.0.1" reportlab = "<4" #Pinning due to build error on MacOs arch = "^5.5.0" llama-index = "^0.8.8" -langchain = "0.0.266" # Pinned for llama index +langchain = "0.0.266" # Pinned for llama index ffn = "0.3.6" jupyter-client = "7.4.1" jupyter-server = "1.23.6" python-jose = "^3.3.0" -nixtlats = "^0.1.11" # Pinning for stability -nltk = "^3.8.1" # Is a dependence for llama index +nixtlats = "^0.1.11" # Pinning for stability +nltk = "^3.8.1" # Is a dependence for llama index [tool.poetry.extras] forecast = [ @@ -204,10 +204,27 @@ 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_platform/platform/core/openbb_core/app/static/package/.*"] +exclude = [ + "^openbb_platform/platform/core/openbb_core/app/static/package/.*", + "^openbb_platform/openbb/package/.*", +] [tool.ruff.per-file-ignores] "**/tests/*" = ["S101"]