-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (43 loc) · 929 Bytes
/
pyproject.toml
File metadata and controls
49 lines (43 loc) · 929 Bytes
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
[project]
name = "python-project-template"
version = "0.4.0"
description = ""
authors = [
{name = "ZequnZ", email = "zequn.zhou007@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pydantic~=2.9.0",
"pydantic-settings~=2.10.0"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.12.0",
"pytest>=8.3.1",
"pytest-cov>=4.1.0",
"pre-commit>=4.3.0",
"safety>=3.2.11",
"ty>=0.0.1a29",
"pyrefly>=0.44.1",
]
# pytest config
[tool.pytest.ini_options]
# Set the root folder here
pythonpath = "src"
addopts = [
"--import-mode=importlib",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"test_mark: mark test for testing purposes (deselect with '-m \"not test_mark\"')"
]
[config.default]
var2 = 1
var1= "default-var1"
[config.local]
var1= "local-var1"
var2 = 10