/
pyproject.toml
113 lines (100 loc) 路 2.3 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[tool.poetry]
name = "emoji_suggestor"
version = "0.0.0"
description = "Create emoji suggestions for any text"
authors = ["Jasper Ginn"]
license = "MIT"
readme = "README.md"
packages = [{ include = "emoji_suggestor", from = "src" }]
[tool.poetry.scripts]
emojifi = "emoji_suggestor.cli:entrypoint"
[tool.poetry.dependencies]
python = "^3.9,<3.12"
typer = "^0.12.1"
langchain = "^0.1.14"
langchain-openai = {version="^0.1.1", optional=true}
langchain-google-vertexai = {version="^0.1.1", optional=true}
pydantic = "^2.6.4"
[tool.poetry.group.dev.dependencies]
interrogate = "^1.7.0"
black = "^24.3.0"
ruff = "^0.3.5"
bandit = "^1.7.8"
deptry = "^0.16.1"
isort = "^5.13.2"
mypy = "^1.9.0"
pre-commit = "^3.7.0"
ipykernel = "^6.29.4"
[tool.poetry.extras]
"openai" = ["langchain-openai"]
"vertexai" = ["langchain-google-vertexai"]
[tool.codespell]
skip = ".nox,.venv,.notebooks,.git,.secrets,docs,site,poetry.lock"
count = ''
quiet-level = 3
[tool.black]
line-length = 88
exclude = '''
^/(
(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.venv
| _build
| build
| dist
| .notebooks
| .nox
)
)
'''
[tool.isort]
profile = "black"
extend_skip = [".notebooks", ".nox", ".venv"]
[tool.mypy]
exclude = "^.notebooks/"
ignore_missing_imports = true
[tool.bandit]
skips = ['B101']
[tool.ruff]
ignore = ["E501"]
extend-exclude = [
"__pycache__",
"docs",
"site",
".nox",
".notebooks"
]
[tool.deptry]
extend_exclude = ["docs", ".notebooks", "noxfile.py", "tasks.py"]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-semiprivate = true
ignore-private = true
ignore-property-decorators = true
ignore-module = true
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = true
fail-under = 0
exclude = [
"setup.py", "docs", "build", "src/{{cookiecutter.__package_slug}}/cli.py", "src/{{cookiecutter.__package_slug}}/commands"
]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
# possible values: 0 (minimal output), 1 (-v), 2 (-vv)
verbose = 0
quiet = false
whitelist-regex = []
color = true
omit-covered-files = false
#generate-badge = "."
#badge-format = "svg"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core>=1",
]