-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (88 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
94 lines (88 loc) · 1.66 KB
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
[project]
name = "audr-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.12",
"httpx>=0.28.1",
"openai>=1.68.2",
"python-dotenv>=1.1.0",
"textblob>=0.19.0",
"uvicorn>=0.34.0",
]
[tool.uv]
dev-dependencies = [
"pytest-cov>=6.0.0",
"tox>=4.24.2",
"types-redis>=4.6.0.20241004",
"types-python-dateutil>=2.8.0",
"types-pytz>=2024.1.0.20240203",
"types-pyyaml>=6.0.12.20241230",
"types-pygments>=2.19.0.20250305",
"types-colorama>=0.4.15.20240311",
"pre-commit>=4.2.0",
"pytest-asyncio>=0.26.0",
"tox-uv>=1.25.0",
]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
ignore = [
"E401",
"E501",
"F401",
"ISC001",
"D203",
"D213",
"TRY003",
"RUF012",
"PT011",
"G004",
]
select = [
"C4",
"C90",
"E",
"F",
"G",
"I",
"ISC",
"LOG",
"PIE",
"PT",
"RET",
"RUF",
"Q",
"T10",
"TCH",
"UP",
]
fixable = ["ALL"]
extend-select = ["I"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "ANN"]
"__init__.py" = ["D"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.mypy]
python_version = "3.12"
warn_return_any = true
disallow_untyped_defs = true
check_untyped_defs = true
disable_error_code = [
"attr-defined",
"var-annotated",
"import-not-found",
"assignment",
"no-any-return",
]