-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (61 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
68 lines (61 loc) · 1.32 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
[project]
name = "palindrom-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"dotenv>=0.9.9",
"google-genai>=1.56.0",
"gradio>=5.23.1",
"langchain>=1.2.0",
"langchain-google-genai>=4.1.2",
"opencv-python>=4.12.0.88",
"pydantic>=2.12.5",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-env>=1.2.0",
"ruff>=0.14.10",
]
[tool.ruff]
fix = true
unsafe-fixes = false
line-length = 100
exclude = ["**/*settings.py"]
[tool.ruff.lint]
select = [
"F", # default Ruff rules
"E", # pycodestyle Errors
"W", # pycodestyle Warnings
"I", # import sorting
"UP", # modern syntax updates
"B", # flake8 common pitfalls & best practices
"Q", # flake8 consistent quotes
"N", # naming conventions,
]
ignore = ["B008", "D413", "E501", "W293", "W291", "PLR2004", "D101", "D400"]
fixable = ["ALL"]
extend-select = [
"PLR2004",
"D101",
"D102",
"D103",
"D201",
"D202",
"D215",
"T201",
]
[tool.mypy]
disallow_any_generics = true
disallow_untyped_defs = true
disallow_untyped_globals = true
ignore_missing_imports = true
show_error_codes = true
strict = false
warn_return_any = true
plugins = ['pydantic.mypy']
packages = ["src"]