-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.37 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.37 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
# =================================================================== #
# This pyproject.toml is for the TEMPLATE REPOSITORY itself #
# (running copier, testing generation). It is NOT distributed. #
# The pyproject.toml for generated projects lives in `template/`. #
# =================================================================== #
[project]
name = "python-project-template-dev"
version = "0"
description = "Development tooling for the copier template (not distributed)."
requires-python = ">=3.14"
[dependency-groups]
dev = [
"copier>=9.15.1",
"pytest>=9.0.3",
"ruff>=0.15.14",
]
[tool.pytest.ini_options]
cache_dir = "./.cache/pytest"
testpaths = ["tests"]
addopts = ["-ra", "--import-mode=importlib"]
[tool.ruff]
required-version = ">=0.15.14"
cache-dir = "./.cache/ruff"
line-length = 88
extend-exclude = [".cache", "__pycache__", "*.pyc"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint]
select = [
"E", "F", "W", # core
"B", "SIM", "RUF", # quality
"I", # isort
"UP", # pyupgrade
"ANN", # annotations
"PT", # pytest style
]
ignore = ["E501", "COM812"] # formatter-conflict rules
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = true
parametrize-names-type = "tuple"
parametrize-values-type = "tuple"