-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (94 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
111 lines (94 loc) · 2.41 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "pki-kit"
version = "0.0.2"
description = "Unified Python toolkit for X.509 and Nebula PKI — issue, revoke, and export certificates for mTLS and overlay networks"
readme = "README.md"
authors = [
{ name = "Dmitry Tatarkin", email = "tatarkin@gmail.com" }
]
requires-python = ">=3.12"
keywords = [
"pki",
"x509",
"certificates",
"tls",
"mtls",
"nebula",
"certificate-authority",
"cryptography",
"security",
"infrastructure",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Security :: Cryptography",
"Topic :: System :: Networking",
"Typing :: Typed",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
dependencies = [
"cryptography>=43.0",
"pydantic>=2.0",
"python-ulid>=3.0",
"ruamel-yaml>=0.18",
]
[project.optional-dependencies]
cli = ["typer>=0.15", "rich>=13.0"]
[project.urls]
Homepage = "https://github.com/dtatarkin/pki-kit"
Repository = "https://github.com/dtatarkin/pki-kit"
Issues = "https://github.com/dtatarkin/pki-kit/issues"
[project.scripts]
pki-kit = "pki.cli:main"
[dependency-groups]
dev = [
"codespell",
"mypy",
"pre-commit",
"pytest",
"python-dotenv",
"ruff",
"ty",
]
[tool.uv.build-backend]
module-name = "pki"
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[tool.ruff]
target-version = "py312"
line-length = 120
src = ["src"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "UP", "B", "A", "C4", "DTZ", "T20", "SIM", "TCH", "RUF", "PT", "S", "ANN"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["ANN", "S101"]
"src/pki/cli/**/*.py" = ["T20", "TCH"]
[tool.ruff.lint.isort]
known-first-party = ["pki"]
[tool.ruff.lint.flake8-type-checking]
runtime-evaluated-base-classes = ["pydantic.BaseModel"]
[tool.mypy]
strict = true
plugins = ["pydantic.mypy"]
mypy_path = "src"
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_decorators = false
[[tool.mypy.overrides]]
module = "pki.cli.*"
disallow_untyped_decorators = false
[[tool.mypy.overrides]]
module = "ruamel.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ty.rules]
unused-type-ignore-comment = "ignore"
[tool.codespell]
skip = ".git,uv.lock,dist"