-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (55 loc) · 1.2 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
[build-system]
requires = ["poetry-core >=1,<2"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "nitrokey"
version = "0.2.3"
description = "Nitrokey Python SDK"
authors = ["Nitrokey <[email protected]>"]
license = "Apache-2.0 or MIT"
readme = "README.md"
repository = "https://github.com/Nitrokey/nitrokey-sdk-py"
classifiers = [
"Intended Audience :: Developers",
]
packages = [
{ include = "nitrokey", from = "src" },
]
[tool.poetry.dependencies]
cryptography = ">=41"
fido2 = "^1.1.2"
python = "^3.9"
requests = "^2"
semver = "^3"
tlv8 = "^0.10"
# lpc55
crcmod = "^1.7"
hidapi = "^0.14"
# nrf52
protobuf = "^5.26"
pyserial = "^3.5"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.3"
fake-winreg = "^1.6"
flake8 = "^7.1"
isort = "^5.13.2"
mypy = "^1.4"
rstcheck = { version = "^6", extras = ["sphinx"] }
sphinx = "^7"
types-protobuf = "^5.26"
types-requests = "^2.32"
typing-extensions = "^4"
[tool.black]
target-version = ["py39"]
[tool.isort]
py_version = "39"
profile = "black"
[tool.mypy]
mypy_path = "stubs"
show_error_codes = true
python_version = "3.9"
strict = true
[tool.rstcheck]
ignore_directives = ["autoclass", "autofunction", "automodule"]