-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
58 lines (51 loc) · 1.21 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
[project]
name = "{{project_name}}"
version = "0.1.0"
description = "{{description}}"
readme = "README.md"
requires-python = ">=3.11,<3.13"
license = "MIT"
authors = [{ name = "{{author_name}}", email = "{{author_email}}" }]
dependencies = []
[dependency-groups]
dev = [
"pyright>=1.1.390",
"pytest>=8.3.0",
"pytest-cov>=6.0.0",
"ruff>=0.8.0",
]
[tool.uv.workspace]
members = ["libs/*", "apps/*"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["{{namespace}}"]
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "standard"
venvPath = "."
venv = ".venv"
[tool.pytest.ini_options]
testpaths = ["tests", "apps", "libs"]
markers = [
"slow: marks tests as slow",
"integration: marks integration tests",
"production: marks production tests (require live services)",
]