-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (80 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (80 loc) · 2 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
[tool.poetry]
name = "swt"
version = "0.7.0"
description = "Simple Web Token library for Python"
authors = ["David Jack Wange Olrik <david@olrik.dk>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/davidolrik/python-swt"
repository = "https://github.com/davidolrik/python-swt"
documentation = "https://python-swt.readthedocs.io/"
keywords = ["swt"]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
]
packages = [
{ include = "swt", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.13,<4.0"
cryptography = "^48.0.1"
sphinx = {version = "^9.1.0", optional = true}
sphinx_rtd_theme = {version = "^3.1.0", optional = true}
[tool.poetry.extras]
docs = ["sphinx", "sphinx_rtd_theme"]
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.2"
coverage = {extras = ["toml"], version = "^7.13.4"}
pytest-cov = "^7.0.0"
sphinx = "^9.1.0"
sphinx_rtd_theme = "^3.1.0"
towncrier = "^25.8.0"
pytest-ruff = "^0.5"
[tool.pytest]
minversion = "9.0"
addopts = ["--cov", "--cov-report=xml", "--ruff", "--ruff-format"]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["swt"]
[tool.coverage.report]
show_missing = true
fail_under = 90
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError"
]
[tool.towncrier]
package = "swt"
# package_dir = "src"
directory = "newsfragments"
filename = "doc/source/changelog.rst"
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = false
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"