-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
91 lines (80 loc) · 1.82 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
91
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "teext"
dynamic = ["version"]
description = "Typing extensions extensions"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
authors = [
{ name = "Thomas MK", email = "[email protected]" },
]
keywords = [
"python",
"typing",
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Typing :: Typed",
]
dependencies = [
"typing_extensions >= 4.4.0",
]
[project.urls]
Homepage = "https://github.com/wearepal/teext"
# dev dependencies
[tool.hatch.envs.default]
dependencies = [
"black~=22.10",
"isort~=5.10",
"mypy>=0.982",
"pytest~=7.1",
]
[tool.hatch.version]
path = "teext/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/teext",
]
[tool.hatch.build.targets.wheel]
artifacts = [
"*.so",
]
# compile `lip.py` with mypyc
[tool.hatch.build.targets.wheel.hooks.mypyc]
dependencies = ["hatch-mypyc"]
include = ["/teext/lib.py"]
mypy-args = [
"--strict",
"--disallow-untyped-defs",
]
[tool.black]
target-version = ['py38']
[tool.mypy]
python_version = "3.8"
strict = true
no_implicit_optional = true
strict_equality = true
check_untyped_defs = true
warn_unreachable = true
disallow_any_unimported = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_incomplete_stub = true
show_error_codes = true
implicit_reexport = false
[[tool.mypy.overrides]]
module = ["pytest.*"]
ignore_missing_imports = true
[tool.isort]
known_third_party = []
known_future_library = []
extra_standard_library = ["__future__", "typing_extensions"]
profile = "black"
force_sort_within_sections = "True"