-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.83 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
67
68
69
70
71
72
73
74
75
76
# SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[project]
name = "gitchart"
version = "2.1.0-dev"
description = "Generate statistic charts on Git repositories"
readme = "README.md"
authors = [
{ name = "Sébastien Helleu", email = "flashcode@flashtux.org" }
]
license = "GPL-3.0-or-later"
keywords = ["git", "charts", "statistics"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Version Control",
]
requires-python = ">=3.10"
dependencies = [
"pygal",
]
[project.optional-dependencies]
svg = [
"cairosvg",
]
[project.scripts]
gitchart = "gitchart.cli:main"
[project.urls]
Repository = "https://github.com/flashcode/gitchart"
Issues = "https://github.com/flashcode/gitchart/issues"
Changelog = "https://github.com/flashcode/gitchart/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
]
[build-system]
requires = ["uv_build>=0.11.32"]
build-backend = "uv_build"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--strict-config", "--strict-markers"]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"PTH122", # os-path-splitext
"SIM113", # enumerate-for-loop
"T201", # print
]
flake8-copyright.notice-rgx = "(?i)# SPDX-FileCopyrightText:\\s\\d{4}(-(\\d{4}|present))*"
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"PLR2004", # magic-value-comparison
"S101", # assert
"SLF001", # private-member-access
]