forked from eclipse-score/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (89 loc) · 1.5 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "generate-repo-overview"
version = "0.0.0"
description = "Collect cached GitHub organization overviews and render Markdown reports"
requires-python = ">=3.12"
dependencies = [
"PyGithub",
"tqdm",
]
[project.scripts]
generate-repo-overview = "generate_repo_overview.cli:main"
[dependency-groups]
dev = [
"basedpyright",
"pre-commit",
"pytest",
"ruff",
]
[tool.hatch.build.targets.wheel]
packages = ["src/generate_repo_overview"]
[tool.uv]
package = true
[tool.ruff]
src = ["src", "tests"]
target-version = "py312"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"N",
"UP",
"B",
"C4",
"C90",
"SIM",
"TCH",
"TID",
"RUF",
"PT",
"PIE",
"T20",
"RSE",
"RET",
]
ignore = [
"E501",
"T201",
"RET505",
]
[tool.ruff.lint.isort]
known-first-party = ["generate_repo_overview"]
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"S101",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
addopts = [
"--import-mode=importlib",
"--strict-markers",
"--strict-config",
]
[tool.pyright]
typeCheckingMode = "standard"
reportMissingParameterType = "warning"
reportMissingTypeArgument = "warning"
reportPrivateUsage = "warning"
reportUnknownVariableType = "warning"
reportUnusedVariable = "warning"
include = [
"src",
"tests",
]
exclude = [
"**/__pycache__",
"**/.*",
".venv*/**",
"build",
"dist",
]
venvPath = "."
venv = ".venv"