-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
70 lines (58 loc) · 1.42 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
[project]
name = "jira-commit-msg"
version = "0.1.0"
description = "A pre-commit compliant hook to add JIRA ticket data to commit msg"
authors = [{ name = "Louis-Amaury Chaib", email = "louisamaury.chaib@gmail.com" }]
requires-python = ">=3.10,<4"
readme = "README.md"
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"typer>=0.25.1,<0.26",
"gitpython>=3.1.49,<4",
]
[project.scripts]
jira-commit-msg = "jira_commit_msg:app"
[dependency-groups]
dev = [
"pytest>=8.4.2,<10",
"ruff>=0.15.12,<0.16",
"pytest-coverage>=0.0,<0.1",
"pre-commit>=4.6.0,<5",
"ty>=0.0.33",
]
[build-system]
requires = ["uv_build>=0.11.8,<0.12.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
addopts = "-vv"
testpaths = [
"."
]
[tool.coverage.paths]
sources = ["src/"]
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
show_missing = true
fail_under = 100
skip_empty = true
skip_covered = true
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "FBT", "COM812"]
[tool.ruff.lint.per-file-ignores]
"test/**" = [
"S101", # use of assert
"ANN201", # missing return type annotations,
"INP001",
]