-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (65 loc) · 1.37 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "pydiction"
version = "0.1.0"
description = ""
authors = ["nadobando <[email protected]>"]
readme = "README.md"
packages = [{ include = "pydiction" }]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
mypy = "^1.5.1"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
python-semantic-release = "^8.0.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.bandit.assert_used]
skips = ["tests/utils*.py", '**/test_*.py', '**/test_*.py']
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
preview = true
exclude = """
(
/(
.eggs # exclude a few common directories in the
| .git # root of the project
| .hg
| .mypy_cache
| .ruff_cache
| .tox
| .venv
| venv
| _build
| buck-out
| build
| dist
)/
)
"""
[tool.isort]
profile = "black"
[tool.autopep8]
max_line_length = 120
[tool.semantic_release]
match = "main"
prerelease_token = "rc"
prerelease = false
version_variables = [
"pydiction/__init__.py:__version__",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
[tool.semantic_release.changelog]
exclude_commit_patterns = [
"^ci:.*",
"^(?!feat:|fix:|perf:|refactor:).*$"
]
[tool.semantic_release.publish]
upload_to_vcs_release = false