-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
54 lines (47 loc) · 976 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
langchain = "^0.1.12"
langchain_openai = "^0.0.8"
pandas = "^2.2.1"
python-dotenv = "^1.0.1"
genanki = "^0.13.1"
openai = "^1.14.1"
pandas-stubs = "^2.2.1.240316"
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.3"
mypy = "^1.9.0"
nox-poetry = "^1.0.3"
poetry-plugin-export = "^1.7.1"
isort = "^5.13.2"
[tool.ruff]
target-version = 'py311'
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.mypy]
python_version = "3.11"
strict = true
disallow_untyped_defs = true
ignore_missing_imports = true
exclude = "noxfile.py"
follow_imports = "normal"
[tool.poetry.scripts]
generate-flashcards = 'src.generate_flashcards:main'
generate-deck = 'src.generate_deck:main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"