-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (40 loc) · 1.16 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
[project]
name = "demicode"
description = "Fixed-width display of Unicode is deeply broken"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "Apache 2.0"}
authors = [{name = "Robert Grimm", email="rgrimm@alum.mit.edu"}]
keywords= ["Unicode", "fixed-width", "East Asian width", "wcwidth", "hot mess"]
dynamic = ["version"]
[project.optional-dependencies]
dev = ["pyright", "flit"]
bench = ["Pillow"]
[project.urls]
repository = "https://github.com/apparebit/demicode"
[project.scripts]
demicode = "demicode.__main__:main"
[build-system]
requires = ["flit_core >=3.4"]
build-backend = "flit_core.buildapi"
[tool.pyright]
include = ["demicode/**/*.py", "test/*.py", "script/*.py", "runtest.py"]
typeCheckingMode = "strict"
pythonVersion = "3.11"
stubPath = "./typings"
[tool.mypy]
python_version = "3.11"
files = ["demicode/*.py"]
enable_incomplete_feature = "TypeVarTuple"
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
allow_redefinition = true
strict_equality = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
#pretty = true