-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (86 loc) · 2.26 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
92
93
94
95
96
97
98
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sh40-celx"
description = "A modern terminal UI framework powered by hypermedia served over HTTP."
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
keywords = []
authors = [
{ name = "bczsalba", email = "[email protected]" },
]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Typing :: Typed",
"Topic :: Software Development :: Libraries",
"Topic :: Terminals",
"Topic :: Text Processing :: Markup",
]
dependencies = ["sh40-celadon", "requests"]
dynamic = ["version"]
[project.urls]
Documentation = "https://github.com/shade40/celx#readme"
Issues = "https://github.com/shade40/celx/issues"
Source = "https://github.com/shade40/celx"
[project.scripts]
celx = "celx.__main__:main"
[tool.hatch.version]
path = "celx/__about__.py"
[tool.hatch.build]
include = [
"celx/*.py",
"celx/py.typed",
"/tests",
]
[tool.hatch.envs.default]
dependencies = [
"mypy",
"pylint",
"pytest",
"pytest-cov",
]
[tool.hatch.envs.test]
dependencies = [
"mypy",
"pylint",
"pytest",
"pytest-cov",
]
[tool.hatch.envs.default.scripts]
test = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=celx --cov=tests && coverage html"
lint = "pylint celx"
type = "mypy celx"
upload = "hatch build && twine upload dist/* && hatch clean"
[[tool.hatch.envs.test.matrix]]
python = ["38", "39", "310", "311"]
[tool.pylint]
fail-under = 9.9
disable = "fixme, missing-module-docstring, no-member"
good-names = ["i", "j", "k", "ex", "Run", "_", "x" ,"y", "fd"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"celx/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"def __repr__",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]