-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
82 lines (74 loc) · 1.65 KB
/
pyproject.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[project]
name = "neofoodclub"
version = "1.0.14"
description = "A Python implementation of functionality used in https://neofood.club"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
license = { file = "LICENSE" }
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Rust",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
'^ *\.\.\.$',
"if (False|TYPE_CHECKING):",
"def __repr__"
]
[tool.pyright]
include = [
"neofoodclub",
]
exclude = [
"**/__pycache__",
]
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedImport = "error"
pythonVersion = "3.11"
typeCheckingMode = "basic"
venvPath = "."
venv = ".venv"
[tool.ruff]
show-fixes = true
target-version = "py311"
[tool.ruff.lint]
extend-select = [
"C4",
"SIM",
"TC",
"UP",
"ANN201",
"ANN202",
"ANN204",
"ANN205",
"ANN206",
]
ignore = ["E501", "F403"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[dependency-groups]
dev = [
"coverage>=7.6.3",
"pytest>=8.3.3",
"setuptools-rust>=1.10.2",
]