-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
42 lines (36 loc) · 960 Bytes
/
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tuf-conformance"
dependencies = [
"securesystemslib[crypto, pynacl]==1.2.0" ,
"tuf==5.1.0",
"pytest==8.3.4"
]
dynamic = ["version"]
requires-python = ">= 3.10"
[project.optional-dependencies]
lint = [
"mypy==1.13.0",
"ruff==0.8.3"
]
[tool.hatch.version]
path = "tuf_conformance/__init__.py"
[tool.mypy]
check_untyped_defs = "True"
disallow_untyped_defs = "True"
no_implicit_optional = "True"
warn_return_any = "True"
warn_unreachable = "True"
warn_unused_ignores = "True"
[[tool.mypy.overrides]]
module = ["securesystemslib.*"]
ignore_missing_imports = "True"
[tool.ruff]
lint.select = ["ANN", "E", "F", "I", "N", "PL", "PYI", "RUF", "S", "UP", "W",]
lint.ignore = [
"ANN101", "ANN102", # nonsense, deprecated in ruff
"S101", # assert is fine in pytest tests
"PLR2004", # magic values are ok in a test suite
]