-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (53 loc) · 1.47 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
[tool.poetry]
name = "pull-request-codecommit"
version = "0.5.15"
description = "pull-request-codecommit creates a PR within CodeCommit based on your commit messages."
authors = ["Joris Conijn <[email protected]>"]
license = "Apache2"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.0.3"
python-semantic-release = "9.12.0"
[tool.poetry.dev-dependencies]
black = "^24.8"
mypy = "^1.13"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-mypy = "^0.10.3"
toml = "^0.10.2"
types-toml = "^0.10.8"
twine = "^5.1.1"
xenon = "^0.9.3"
radon = "^6.0.1"
[tool.poetry.scripts]
pull-request-codecommit = "pull_request_codecommit:main"
git-pr = "pull_request_codecommit:main"
[tool.pytest]
testpaths = "tests"
[tool.mypy]
ignore_missing_imports = true
[tool.coverage.run]
branch = true
source = ["pull_request_codecommit"]
[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"@abstract"
]
[tool.semantic_release]
build_command = "pip install poetry && poetry build"
version_variables = [
"pull_request_codecommit/__init__.py:__version__",
"pyproject.toml:version"
]
[tool.semantic_release.commit_parser_options]
allowed_tags = [ "build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test" ]
minor_tags = [ "feat" ]
patch_tags = [ "fix", "perf", "refactor", "chore(deps)" ]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"