-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
90 lines (79 loc) · 2.04 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "demagnetize"
dynamic = ["version"]
description = "Convert magnet links to .torrent files"
readme = "README.rst"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "John Thorvald Wodder II", email = "demagnetize@varonathe.org" }
]
keywords = [
"bittorrent",
"magnet link",
"torrent",
]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: Implementation :: PyPy",
"Environment :: Console",
"Framework :: AnyIO",
"Topic :: Communications :: File Sharing",
"Typing :: Typed",
]
dependencies = [
"anyio ~= 4.0",
"attrs >= 20.1.0",
"click >= 8.0",
"click-loglevel ~= 0.5",
"colorlog ~= 6.0",
"httpx ~= 0.22",
"torf >= 4.2.2, < 5.0",
"yarl ~= 1.7",
]
[project.scripts]
demagnetize = "demagnetize.__main__:main"
[project.urls]
"Source Code" = "https://github.com/jwodder/demagnetize"
"Bug Tracker" = "https://github.com/jwodder/demagnetize/issues"
[tool.hatch.version]
path = "src/demagnetize/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/docs",
"/src",
"/test",
"CHANGELOG.*",
"CONTRIBUTORS.*",
"tox.ini",
]
[tool.hatch.envs.default]
python = "3"
[tool.mypy]
allow_incomplete_defs = false
allow_untyped_defs = false
ignore_missing_imports = false
# <https://github.com/python/mypy/issues/7773>:
no_implicit_optional = true
implicit_reexport = false
local_partial_types = true
pretty = true
show_error_codes = true
show_traceback = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = "torf.*"
ignore_missing_imports = true