-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
62 lines (53 loc) · 1.09 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "flaggie"
authors = [{name = "Michał Górny", email = "[email protected]"}]
license = {file = "COPYING"}
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
requires-python = ">=3.9"
dependencies = [
"more-itertools",
]
[project.optional-dependencies]
package-manager = [
"gentoopm >= 0.5",
]
pretty-log = [
"rich",
]
test = [
"pytest",
]
[project.scripts]
flaggie = "flaggie.__main__:entry_point"
[project.urls]
Homepage = "https://github.com/projg2/flaggie/"
[tool.flit.sdist]
include = [
"test",
"tox.ini",
]
[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 = [
"gentoopm.*",
"rich.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--log-level=debug"
testpaths = [
"test",
]