forked from cta-observatory/ctapipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (55 loc) · 1.51 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
[build-system]
requires = ["setuptools >= 40.6.0", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "ctapipe/_version.py"
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.pytest.ini_options]
filterwarnings = [
"error::astropy.utils.exceptions.AstropyDeprecationWarning",
"error::ctapipe.utils.deprecation.CTAPipeDeprecationWarning",
]
[tool.towncrier]
package = "ctapipe"
directory = "docs/changes"
filename = "CHANGES.rst"
template = "docs/changes/template.rst"
# let towncrier create proper links to the merged PR
issue_format = "`#{issue} <https://github.com/cta-observatory/ctapipe/pull/{issue}>`__"
[tool.towncrier.fragment.feature]
name = "New Features"
showcontent = true
[tool.towncrier.fragment.bugfix]
name = "Bug Fixes"
showcontent = true
[tool.towncrier.fragment.api]
name = "API Changes"
showcontent = true
[tool.towncrier.fragment.datamodel]
name = "Data Model Changes"
showcontent = true
[tool.towncrier.fragment.optimization]
name = "Refactoring and Optimization"
showcontent = true
[tool.towncrier.fragment.maintenance]
name = "Maintenance"
showcontent = true
[[tool.towncrier.section]]
name = ""
path = ""