-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
91 lines (76 loc) · 1.95 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
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = [
"setuptools>=42.0",
"GitPython==3.1.44",
"Jinja2==3.1.5",
"reuse==5.0.2",
"requests==2.32.3",
"semver==3.0.2",
"toml==0.10.2",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 100
src_paths = ["doc", "src", "tests"]
[tool.codespell]
ignore-words = "doc/styles/config/vocabularies/ANSYS/accept.txt"
[tool.coverage.run]
source = ["ansys.pre_commit_hooks"]
[tool.coverage.report]
show_missing = true
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "--cov=ansys.pre_commit_hooks --cov-report term-missing -vv"
testpaths = [
"tests",
]
markers = [
"add_license_headers: marks tests for add-license-headers hook",
"tech_review: marks tests for tech-review hook",
]
[tool.towncrier]
package = "ansys.pre_commit_hooks"
directory = "doc/changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
template = "doc/changelog.d/changelog_template.jinja"
title_format = "## [{version}](https://github.com/ansys/pre-commit-hooks/releases/tag/v{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/ansys/pre-commit-hooks/pull/{issue})"
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "dependencies"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "miscellaneous"
name = "Miscellaneous"
showcontent = true
[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true
[[tool.towncrier.type]]
directory = "test"
name = "Test"
showcontent = true