-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (45 loc) · 1.1 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (45 loc) · 1.1 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
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
name = "python_template"
description = "A minimal Python package template"
readme = "README.md"
requires-python = ">=3.14"
authors = [{ name = "First Last", email = "you@example.com" }]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = []
version = "0.0.1"
[project.urls]
Repository = "https://github.com/your-user/your-repository"
[dependency-groups]
dev = [
"nbstripout",
"prek",
"pytest",
"ruff",
"ty",
]
[tool.ruff]
line-length = 120
target-version = "py314"
[tool.ruff.lint]
select = [
"F", "E", "W", "YTT", "B", "COM", "DTZ", "Q",
"PLE", "PLR", "PLW", "PIE", "PYI", "TID", "ISC", "TCH",
"I", "C4", "PGH", "RUF", "UP",
]
ignore = [
"E402", "PLR0912", "PLR0913", "PLR0915", "PLR2004",
"B006", "COM812", "ISC001",
]
per-file-ignores = { "__init__.py" = ["F401"] }
[tool.ruff.lint.flake8-type-checking]
quote-annotations = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"