-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
84 lines (71 loc) · 1.74 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
[project]
name = "shapeshifter_uftp"
version = "2.3.1"
description = "Implementation of the Shapeshifter (UFTP) protocol"
dependencies = [
"xsdata[lxml]>=25.0,<27.0",
"pynacl>=1.5.0,<=1.6.2",
"dnspython==2.8.0",
"fastapi>=0.110,<0.128",
"fastapi-xml>=1.1.1,<2.0.0",
"requests",
"uvicorn",
"termcolor",
]
requires-python = ">=3.11,<3.15"
readme = "README.rst"
license = "Apache-2.0"
[project.urls]
Repository = "https://github.com/shapeshifter/shapeshifter-library-python"
Documentation = "https://github.com/shapeshifter/shapeshifter-library-python/README.md"
Issues = "https://github.com/shapeshifter/shapeshifter-library-python/issues"
Changelog = "https://github.com/shapeshifter/shapeshifter-library-python/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"xmlschema",
"pytest",
"pytest-cov",
"pylint",
"responses",
"sphinx",
"sphinx-rtd-theme"
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.scripts]
shapeshifter-keypair = "shapeshifter_uftp.cli:generate_signing_keypair"
shapeshifter-lookup = "shapeshifter_uftp.cli:perform_lookup"
[tool.pytest.ini_options]
addopts = "-v --cov --cov-report html --cov-report lcov"
[tool.coverage.run]
include = [
"shapeshifter_uftp/**/*.py",
]
omit = [
"application/asgi.py",
]
[tool.coverage.report]
skip_empty = true
[tool.coverage.html]
directory = "test_coverage"
[tool.pylint.DESIGN]
[tool.isort]
profile = "black"
[tool.setuptools]
packages = [
"shapeshifter_uftp",
"shapeshifter_uftp.client",
"shapeshifter_uftp.service",
"shapeshifter_uftp.uftp",
"shapeshifter_uftp.uftp.messages"
]
[tool.ruff.lint]
select = [
"I",
"W191",
"W291",
"W292",
"W293",
"F401",
]