forked from oscal-compass/compliance-trestle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (41 loc) · 1.1 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
# Added to aide with eventual transition away from setup.py
[build-system]
requires = [
"setuptools >= 35.0.2",
"wheel",
"setuptools_scm >= 2.0.0"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.pytest.ini_options]
minversion = "6.2"
testpaths = [
"tests",
]
[tool.black]
line-length = 500
[tool.isort]
line_length = 500
[tool.semantic_release]
build_command = """
python -m pip install -e .[dev] --upgrade --upgrade-strategy eager --
python setup.py sdist bdist_wheel
"""
version_variables = ["trestle/__init__.py:__version__"]
commit_author = "semantic-release <semantic-release>"
[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"]
default_bump_level = 0
[tool.semantic_release.branches.main]
match = "(main)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
insecure = false
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]