forked from sunpy/sunkit-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
111 lines (84 loc) · 2.71 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel", "numpy==1.14.5"]
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| astropy_helpers
| docs
)/
| ah_bootstrap.py
)
'''
[ tool.sunpy-bot ]
# disable astropy checks
changelog_check = false
autoclose_stale_pull_request = false
# SunPy Checks
check_towncrier_changelog = true
check_milestone = true
post_pr_comment = true
all_passed_message = """
Thanks for the pull request @{pr_handler.user}! Everything looks great!
"""
[ tool.sunpy-bot.towncrier_changelog ]
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
help_url = "https://github.com/sunpy/sunkit-image/blob/towncrier/changelog/README.rst"
missing_file_message = """
* I didn't detect a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunkit-image/blob/master/changelog/README.rst).
"""
wrong_type_message = """
* The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunkit-image/blob/master/changelog/README.rst)
"""
wrong_number_message = """
* The number in the changelog file you added does not match the number of this pull request. Please rename the file.
"""
[ tool.sunpy-bot.milestone_checker ]
missing_message = """
* This pull request does not have a milestone assigned to it. Only maintainers can change this, so you don't need to worry about it. :smile:
"""
[tool.towncrier]
package = "sunkit_image"
filename = "CHANGELOG.rst"
directory = "changelog/"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-image/pull/{issue}>`__"
[[tool.towncrier.type]]
directory = "breaking"
name = "Backwards Incompatible Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "api"
name = "API Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "trivial"
name = "Trivial/Internal Changes"
showcontent = true