-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
94 lines (80 loc) · 2.17 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
[build-system]
requires = ["setuptools >= 69.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "jwt"
version = "1.4.0"
description = "JSON Web Token library for Python 3."
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"cryptography >= 3.1, != 3.4.0",
]
requires-python = ">= 3.9"
authors = [
{name = "Kohei YOSHIDA", email = "[email protected]"},
]
[project.urls]
Repository = "https://github.com/GehirnInc/python-jwt.git"
[project.optional-dependencies]
dev = [
"black",
"isort",
"mypy",
"types-freezegun",
]
test = [
"pytest ~= 6.0",
"pytest-cov",
"freezegun",
]
[tool.pytest.ini_options]
addopts = "--cov jwt --cov-report term"
[tool.coverage.report]
show_missing = true
[tool.black]
line-length = 79
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3
force_grid_wrap = 2
split_on_trailing_comma = true
# https://github.com/PyCQA/isort/issues/2156
# lines_before_imports = 1
ensure_newline_before_comments = true
[tool.mypy]
check_untyped_defs = true
follow_imports_for_stubs = true
#disallow_any_decorated = true
disallow_any_generics = true
#disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
#disallow_untyped_defs = true
implicit_reexport = false
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
disallow_any_unimported = true
#warn_return_any = true