Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (61 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (61 loc) · 2.01 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
[project]
name = "PyOTP"
description = "Python One Time Password Library"
readme = "README.rst"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Andrey Kislyuk"}, {email = "kislyuk@gmail.com" }]
maintainers = [{ name = "Andrey Kislyuk"}, {email = "kislyuk@gmail.com" }]
dynamic = ["version"]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: MacOS :: MacOS X",
"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 :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
test = ["coverage", "wheel", "ruff", "mypy"]
[project.urls]
"Homepage"= "https://github.com/pyauth/pyotp"
"Documentation"= "https://github.com/pyauth/pyotp"
"Source Code"= "https://github.com/pyauth/pyotp"
"Issue Tracker"= "https://github.com/pyauth/pyotp/issues"
"Change Log"= "https://github.com/pyauth/pyotp/blob/main/Changes.rst"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["src/pyotp"]
[tool.mypy]
strict = true
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = [
"SIM102", # Allow nested if statements.
"SIM117", # Allow nested with statements.
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
# Keep accepted timestamp types explicit in public API annotations.
"src/pyotp/totp.py" = ["PYI041"]