-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
70 lines (62 loc) · 1.54 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tuf-on-ci-sign"
description = "Signing tools for TUF-on-CI"
license = "MIT"
license-files = [ "LICENSE" ]
readme = "README.md"
dependencies = [
"packaging ~= 24.0",
"platformdirs ~= 4.2",
"securesystemslib[awskms,azurekms,gcpkms,hsm,sigstore] ~= 1.2",
"tuf >= 5.1,< 7.0",
"click ~= 8.1",
]
requires-python = ">=3.9"
dynamic = ["version"]
[project.urls]
issues = "https://github.com/theupdateframework/tuf-on-ci/issues"
source = "https://github.com/theupdateframework/tuf-on-ci/"
[project.scripts]
tuf-on-ci-delegate = "tuf_on_ci_sign:delegate"
tuf-on-ci-import-repo = "tuf_on_ci_sign:import_repo"
tuf-on-ci-sign = "tuf_on_ci_sign:sign"
[project.optional-dependencies]
lint = [
"mypy == 1.15.0",
"ruff == 0.9.10",
]
[tool.hatch.version]
path = "tuf_on_ci_sign/__init__.py"
[tool.mypy]
python_version = "3.9"
[[tool.mypy.overrides]]
module = [
"securesystemslib.*",
"PyKCS11.*",
]
ignore_missing_imports = "True"
[tool.ruff.lint]
select = [
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"LOG", # flake8-logging
"N", # pep8-naming
"RET", # flake8-return
"RUF", # ruff-specific rules
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"S101", # Use of `assert` detected
"S603", # `subprocess` call: check for execution of untrusted input
]