-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
78 lines (69 loc) · 1.61 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
[build-system]
requires = ["flit_core >=3.7,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "nattka"
authors = [{name = "Michał Górny", email = "[email protected]"}]
readme = "README.rst"
dynamic = ["version", "description"]
license = {text = "GPL-2.0-or-later"}
requires-python = ">=3.10"
dependencies = [
"lxml",
"pkgcheck",
"pkgcore",
"requests",
"snakeoil",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Testing",
]
[tool.flit.external-data]
directory = "data"
[tool.flit.sdist]
include = [
"COPYING",
"doc",
"test",
"tox.ini",
]
exclude = [
"doc/_build",
"test/__pycache__",
"test/data/metadata/md5-cache",
]
[project.optional-dependencies]
depgraph = ["networkx"]
test = [
"pytest",
"vcrpy",
]
[project.scripts]
nattka = "nattka.__main__:setuptools_main"
[project.urls]
Homepage = "https://github.com/mgorny/nattka/"
[tool.mypy]
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "test.*"
# requiring explicit types for all test methods would be cumbersome
disallow_untyped_defs = false
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"lxml.*",
"networkx.*",
"pkgcheck.*",
"pkgcore.*",
"snakeoil.*",
"vcr",
]
ignore_missing_imports = true