-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
81 lines (74 loc) · 1.95 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
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "limbo"
dynamic = ["version"]
description = "x509-limbo's command line"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]" },
]
dependencies = [
"pydantic ~= 2.4",
# For the `certvalidator` test harness.
"certvalidator ~= 0.11",
"cryptography ~= 44.0",
"pyyaml ~= 6.0",
"pyOpenSSL",
"certifi",
"requests ~= 2.31",
"Jinja2",
]
requires-python = ">=3.11"
[project.optional-dependencies]
lint = [
# NOTE: ruff is under active development, so we pin conservatively here
# and let Dependabot periodically perform this update.
"ruff < 0.8.4",
"mypy >= 1.0",
"types-pyyaml",
"types-pyOpenSSL",
"types-requests",
]
doc = []
test = []
site = [
"mkdocs",
"mkdocs-gen-files",
"pymdown-extensions",
"mkdocs-material",
"py-markdown-table==1.2.0",
]
dev = ["limbo[doc,test,lint,site]", "twine", "wheel", "build"]
[project.scripts]
"limbo" = "limbo._cli:main"
[project.urls]
homepage = "https://github.com/C2SP/x509-limbo"
source = "https://github.com/C2SP/x509-limbo/"
issues = "https://github.com/C2SP/x509-limbo/issues"
[tool.mypy]
plugins = ["pydantic.mypy"]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
sqlite_cache = true
strict_equality = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "UP", "I", "N", "YTT", "BLE", "C4", "SIM"]
[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["classmethod", "pydantic.validator"]