-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
81 lines (65 loc) · 1.85 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "litexplore"
authors = [{ name = "Ricardo Ander-Egg", email = "[email protected]" }]
description = "A small example package"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
# "Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
]
dependencies = [
"pydantic",
"fastapi~=0.78",
"uvicorn[standard]>=0.18.2",
"Jinja2",
"python-multipart",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/litements/litexplore"
"Bug Tracker" = "https://github.com/litements/litexplore"
"Documentation" = "https://github.com/litements/litexplore"
[project.scripts]
litexplore = "litexplore:__main__"
[tool.hatch.build.targets.wheel]
packages = ["litexplore"]
[tool.hatch.build.targets.sdist]
packages = ["litexplore"]
support-legacy = true
[tool.hatch.build]
include = [
"litexplore/templates/*.html",
"litexplore/static/css/*.css",
"litexplore/static/js/*.js",
"litexplore/*.py",
]
exclude = [".github", "bin", "*.txt", "*.db", "fk_parse.py", "dbg.py"]
[tool.hatch.version]
path = "litexplore/__init__.py"
# [tool.hatch.envs.test]
# dependencies = ["pytest"]
# [[tool.hatch.envs.test.matrix]]
# python = ["3.9", "3.8", "3.10"]
# [tool.hatch.envs.test.scripts]
# ver = "python3 -c 'import sys; print(sys.executable)'"
[tool.isort]
profile = "black"
known_third_party = ["fastapi", "pydantic", "starlette", "uvicorn"]
[tool.mypy]
disallow_any_generics = true
disallow_subclassing_any = true
no_implicit_optional = true
warn_redundant_casts = true
# warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true