diff --git a/docs/conf.py b/docs/conf.py index ba156d994..b0b8a00e0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,6 +7,8 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information import toml +import os +import sys project = "DB-GPT" copyright = "2023, csunny" diff --git a/pyproject.toml b/pyproject.toml index 3b465bab9..e6a5f80da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,3 +117,14 @@ types-chardet = "^5.0.4.6" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + +[tool.ruff] +exclude = [ + ".venv", + "__pycache__", + ".ipynb_checkpoints", + ".mypy_cache", + ".ruff_cache", + "examples", + "notebooks", +]