dotenv 配置

This commit is contained in:
glide-the 2024-06-09 14:10:09 +08:00
parent c43bee9921
commit 38ca2edb41
3 changed files with 16 additions and 4 deletions

View File

@ -256,7 +256,7 @@ ignore-words-list = 'momento,collison,ned,foor,reworkd,parth,whats,aapply,mysogy
[tool.poetry.plugins.dotenv]
ignore = "false"
location = ".env"
dotenv = "dotenv:plugin"
# https://python-poetry.org/docs/repositories/

View File

@ -206,7 +206,7 @@ ignore-words-list = 'momento,collison,ned,foor,reworkd,parth,whats,aapply,mysogy
[tool.poetry.plugins.dotenv]
ignore = "false"
location = ".env"
dotenv = "dotenv:plugin"
# https://python-poetry.org/docs/repositories/
[[tool.poetry.source]]

View File

@ -25,7 +25,19 @@ langchain-chatchat = { path = "libs/chatchat-server", develop = true }
ipykernel = "^6.29.2"
[tool.poetry.group.test.dependencies]
pytest = "^7.3.0"
pytest-cov = "^4.0.0"
pytest-dotenv = "^0.5.2"
duckdb-engine = "^0.9.2"
pytest-watcher = "^0.2.6"
freezegun = "^1.2.2"
responses = "^0.22.0"
pytest-asyncio = "^0.23.2"
lark = "^1.1.5"
pytest-mock = "^3.10.0"
pytest-socket = "^0.6.0"
syrupy = "^4.0.2"
requests-mock = "^1.11.0"
[tool.ruff]
extend-include = ["*.ipynb"]
@ -48,7 +60,7 @@ extend-exclude = [
[tool.poetry.plugins.dotenv]
ignore = "false"
location = ".env"
dotenv = "dotenv:plugin"
# https://python-poetry.org/docs/repositories/