-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (42 loc) · 1020 Bytes
/
pyproject.toml
File metadata and controls
50 lines (42 loc) · 1020 Bytes
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = 'textshape'
version = "1.1.0"
requires-python = ">= 3.10"
dependencies = [
"numpy>=2.0.0",
"vharfbuzz>=0.3.1",
"fonttools"
]
description = "Hyper fast hyphenation for Python"
authors = [
{name = "Laurens Janssen", email = "digi-deity@laurens.xyz"}
]
urls = {Repository = "https://github.com/digi-deity/textshape"}
license = {text = "Apache-2.0"}
readme = "README.md"
[tool.mypy]
strict = true
exclude = ["tests/"]
disable_error_code = ["import-untyped"]
[tool.setuptools.packages.find]
include = ["textshape"]
[tool.tox.env_run_base]
deps = ["pytest"]
commands = [["pytest", "-vv", "tests/"]]
# [tool.tox.env.type]
# deps = ["mypy"]
# commands = [["mypy", "."]]
[tool.tox.env.lint]
deps = ["ruff"]
commands = [["ruff", "check", "textshape/"]]
[tool.ruff]
target-version = "py310"
[tool.tox.gh.python]
"3.14" = ["3.14"]
"3.13" = ["3.13", "lint"]
"3.12" = ["3.12"]
"3.11" = ["3.11"]
"3.10" = ["3.10"]