-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
76 lines (65 loc) · 1.84 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
66
67
68
69
70
71
72
73
74
75
76
[tool.poetry]
name = "pyjwt-rsa"
version = "1.1.0"
description = "RSA helpers for PyJWT"
authors = ["Dmitry Orlov <me@mosquito.su>"]
license = "MIT"
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: Russian",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Typing :: Typed",
]
packages = [
{ include = "jwt_rsa", from = "." }
]
[tool.poetry.dependencies]
python = "^3.10"
pyjwt = "^2.10"
cryptography = "^44.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.14.1"
pylama = {extras = ["toml"], version = "^8.4.1"}
pytest = "^8.3.4"
pytest-cov = "^6.0.0"
setuptools = "^75.6.0"
[tool.poetry.scripts]
jwt-rsa = "jwt_rsa.cli:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylama]
linters = "pycodestyle,pyflakes,mccabe,mccabe"
[tool.pylama.linter.pycodestyle]
max_line_length = 119
ignore = "E704"
[tool.mypy]
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
warn_unused_configs = true
disallow_subclassing_any = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_calls = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["tests.*"]
ignore_errors = true
[tool.pytest.ini_options]
log_cli = true
addopts = "--cov jwt_rsa --cov-report term-missing --doctest-modules --pylama jwt_rsa --pylama tests"