-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.main.toml
61 lines (50 loc) · 1.25 KB
/
pyproject.main.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "genai-ecommerce"
version = "0.1.0"
description = "GenAI E-commerce project with ML-powered recommendations"
requires-python = ">=3.12,<3.13"
[tool.hatch.build.targets.wheel]
packages = [
"src/genai_ecommerce_core",
"src/genai_ecommerce_ml",
"src/genai_ecommerce_web"
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.isort]
profile = "black"
line_length = 88
known_first_party = ["genai_ecommerce_core", "genai_ecommerce_ml", "genai_ecommerce_web"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "C", "B", "UP", "N", "ANN", "S", "A"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.12"
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_optional = true
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.2.0",
"mypy>=1.8.0",
"ipykernel>=6.0.0",
"isort",
]