-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.49 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
[tool.poetry]
name = "swt"
version = "0.6.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 = "^46.0.5"
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"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"