-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
69 lines (62 loc) · 1.72 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tuf-on-ci"
description = "TUF-on-CI repository tools, intended to be executed on a CI system"
license = "MIT"
license-files = [ "LICENSE" ]
readme = "README.md"
dependencies = [
"securesystemslib[awskms, azurekms, gcpkms, sigstore] ~= 1.2",
"tuf >= 5.1,< 7.0",
"click ~= 8.1",
]
requires-python = ">=3.10"
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-build-repository = "tuf_on_ci:build_repository"
tuf-on-ci-test-client = "tuf_on_ci:client"
tuf-on-ci-create-signing-events = "tuf_on_ci:create_signing_events"
tuf-on-ci-online-sign = "tuf_on_ci:online_sign"
tuf-on-ci-online-sign-targets = "tuf_on_ci:online_sign_targets"
tuf-on-ci-status = "tuf_on_ci:status"
tuf-on-ci-update-targets = "tuf_on_ci:update_targets"
[project.optional-dependencies]
lint = [
"mypy == 1.15.0",
"ruff == 0.9.10",
]
[tool.hatch.version]
path = "tuf_on_ci/_version.py"
[[tool.mypy.overrides]]
module = [
"securesystemslib.*",
"sigstore.*",
]
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
]