forked from compilerla/conventional-pre-commit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
63 lines (53 loc) · 1.44 KB
/
pyproject.toml
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
[project]
name = "conventional_pre_commit"
dynamic = ["version"]
description = "A pre-commit hook that checks commit messages for Conventional Commits formatting."
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["Programming Language :: Python :: 3 :: Only"]
keywords = ["git", "pre-commit", "conventional-commits"]
authors = [
{ name = "Compiler LLC", email = "[email protected]" }
]
requires-python = ">=3.8"
dependencies = []
[project.urls]
code = "https://github.com/compilerla/conventional-pre-commit"
tracker = "https://github.com/compilerla/conventional-pre-commit/issues"
[project.optional-dependencies]
dev = [
"black",
"build",
"coverage",
"flake8",
"pre-commit",
"pytest",
"setuptools_scm",
]
[project.scripts]
conventional-pre-commit = "conventional_pre_commit.hook:main"
[build-system]
requires = ["setuptools>=65", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 127
target-version = ['py311']
include = '\.pyi?$'
[tool.coverage.run]
branch = true
relative_files = true
source = ["conventional_pre_commit"]
[tool.pyright]
include = ["conventional_pre_commit", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = [
"*.egg-info",
".git",
".pytest_cache",
".vscode",
]
[tool.setuptools]
packages = ["conventional_pre_commit"]
[tool.setuptools_scm]
# intentionally left blank, but we need the section header to activate the tool