generated from JuanVilla424/github-cicd-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (71 loc) · 1.48 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
[tool.poetry]
name = "langding"
version = "1.0.8"
description = "Langding is an AI driven landing auto-translate site."
authors = ["B <[email protected]>"]
license = "GLPv3"
readme = "README.md"
package-mode = false
[tool.poetry.scripts]
langding = "langding:main"
[tool.poetry.dependencies]
python = "^3.12"
setuptools = "^75.2.0"
idna="^3.0"
certifi="^2024.8.30"
bump2version="^1.0.0"
b64="0.4"
openai="^1.54.0"
pydantic = { version = ">=2.9.1", extras = ["email"] }
pydantic-settings = ">=2.0.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.0"
pylint="^3.3.0"
isort = "^5.12.0"
toml="^0.10.0"
black="^24.3.0"
pytest = "^8.3.1"
httpx = "^0.27.2"
pytest-cov = "^6.0.0"
alembic = "^1.11.1"
yamllint = "^1.35.0"
coverage = "^7.2.5"
[tool.poetry.extras]
migrations = ["alembic"]
testing = ["pytest", "httpx"]
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
| node_modules
)/
'''
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=app --cov-report=xml:coverage.xml --cov-report=term"
testpaths = ["tests"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.pylint]
rcfile = ".pylintrc"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"