-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (42 loc) · 1.06 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "versioneer"]
build-backend = "setuptools.build_meta"
[project]
name = "kcalc"
description = "a kcalc"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.10"
classifiers = ["Programming Language :: Python :: 3"]
[project.scripts]
kcalc = "kcalc._cli:main"
[tool.setuptools]
zip-safe = false
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "kcalc.__version__"}
[tool.setuptools.packages.find]
namespaces = true
where = ["."]
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "kcalc/_version.py"
versionfile_build = "kcalc/_version.py"
tag_prefix = ""
parentdir_prefix = "kcalc-"
[tool.ruff.lint]
ignore = ["C901", "E501"]
select = ["B","C","E","F","W","B9"]
ignore-init-module-imports = true
[tool.coverage.run]
omit = ["**/tests/*", "**/_version.py"]
[tool.coverage.report]
exclude_lines = [
"@overload",
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
]