-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
84 lines (73 loc) · 1.68 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
# PEP 518: https://www.python.org/dev/peps/pep-0518/
[project]
name = "cryptojwt"
dynamic = ["version"]
description = "Python implementation of JWT, JWE, JWS and JWK"
authors = [
{name="Roland Hedberg", email = "roland@catalogix.se"}
]
license = "Apache-2.0"
repository = "https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT"
readme = "README.md"
packages = [
{ include = "cryptojwt", from = "src" }
]
requires-python = ">=3.10,<4.0"
dependencies = [
"cryptography>=3.4.6",
"requests>=2.25.1"
]
[project.scripts]
jwkgen = "cryptojwt.tools.keygen:main"
jwkconv = "cryptojwt.tools.keyconv:main"
jwtpeek = "cryptojwt.tools.jwtpeek:main"
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.metadata]
allow-direct-references = true
[dependency-groups]
dev = [
"alabaster>=0.7.12",
"pytest>=8.2.1",
"pytest-cov>=4.0.0",
"responses>=0.13.0",
"sphinx>=3.5.2",
"sphinx-autobuild>=2021.3.14",
"coverage>=7",
"ruff>=0.9.9",
"pytest-ruff>=0.3.2"
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501", "I001", "SIM102", "UP006", "UP035", "UP045", "UP007"]
exclude = ["examples/*"]
[tool.ruff.lint.isort]
force-sort-within-sections = false
combine-as-imports = true
split-on-trailing-comma = false
known-first-party = ["cryptojwt"]