-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 857 Bytes
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 857 Bytes
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
[project]
name = "checkpatch-hook"
dynamic = ["version"]
description = "Checkpatch Pre-Commit Hook"
authors = [
{name = "Blu Wireless Technology Ltd.", email = "info@bluwireless.com"}
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pyyaml>=6.0.2",
]
[tool.uv]
dev-dependencies = [
"pytest>=8.3.2",
"coverage>=7.6.1",
"pytest-cov>=5.0.0",
"pytest-subprocess>=1.5.2",
]
[tool.pytest.ini_options]
addopts = "--cov=checkpatch_hook --cov-branch"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[project.scripts]
checkpatch = "checkpatch_hook:main"
[tool.coverage.report]
exclude_also = [
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"@(abc\\.)?abstractmethod",
]