-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (59 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (59 loc) · 1.56 KB
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
[project]
name = "stats-code"
version = "0.1.5"
description = "A full python tool to gather statistics from your codebase."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"chardet>=5.2.0",
"pathspec>=0.12.1",
"pyyaml>=6.0.3",
"rich>=14.2.0",
]
authors = [
{ name = "LKLLL", email = "13263311018@163.com" }
]
license = "Apache-2.0"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
]
keywords = ["code", "developer", "statistics", "stats-code"]
urls = { "Home" = "https://github.com/LKLLLLLLLLLL/CodeStatistics"}
[project.scripts]
stats-code = "stats_code.__main__:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
stats_code = ["config/*.yml"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.taskipy.tasks]
build = "python -m build"
lint = "mypy -p stats_code"
[dependency-groups]
dev = [
"mypy>=1.18.2",
"taskipy>=1.14.1",
"twine>=6.2.0",
"types-pyyaml>=6.0.12.20250915",
"viztracer>=1.1.1",
"build",
]