-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (50 loc) · 1.22 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
[project]
name = "token-status-list"
version = "0.1.0a2.dev1"
description = "Implementation of IETF Token Status List"
authors = [
{name = "Daniel Bluhm", email = "[email protected]"},
]
dependencies = []
requires-python = ">=3.10"
readme = "README.md"
license = {text = "Apache-2.0"}
[project.optional-dependencies]
cbor = [
"cbor2>=5.6.4"
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
dev = [
"pre-commit>=3.7.1",
"pytest>=8.2.2",
"ruff>=0.5.0",
"pytest-cov>=5.0.0",
]
[tool.pdm.build]
includes = ["token_status_list.py"]
[tool.ruff]
line-length = 90
extend-exclude = ["example*.py"]
[tool.ruff.lint]
select = ["E", "F", "C", "D", "TID"]
ignore = [
# Google Python Doc Style
"D203", "D204", "D213", "D215", "D400", "D401", "D404", "D406", "D407",
"D408", "D409", "D413",
"D202", # Allow blank line after docstring
]
per-file-ignores = {"**/{tests}/*" = ["F841", "D", "E501"]}
[tool.pytest.ini_options]
addopts="-m 'not performance'"
markers = "performance: performance tests"
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "@abstract"]
precision = 2
show_missing = true
[tool.coverage.run]
branch = true