File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -325,8 +325,8 @@ def _parse_jobs(val: str) -> Optional[int]:
325
325
default = 1 ,
326
326
type = _parse_jobs ,
327
327
help = """Set the number of jobs to run simultaneously.
328
- If set to <= 0, the number of jobs will be set to the
329
- number of all available CPU cores.
328
+ If set less than or equal to 0, the number of jobs will
329
+ be set to the number of all available CPU cores.
330
330
331
331
Defaults to ``%(default)s``.""" ,
332
332
)
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ def api_request(
35
35
:param data: The HTTP request payload data.
36
36
:param headers: The HTTP request headers to use. This can be used to override
37
37
the default headers used.
38
- :param strict: If this is set `True`, then an `HTTPError` will be raised when
39
- the HTTP request responds with a status code greater than or equal to 400.
38
+ :param strict: If this is set `True`, then an :py:class:`~requests.HTTPError`
39
+ will be raised when the HTTP request responds with a status code greater
40
+ than or equal to 400.
40
41
41
42
:returns:
42
43
The HTTP request's response object.
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def run(self):
181
181
class CliBadgeVersion (CliBadge ):
182
182
badge_type = "version"
183
183
href = "https://github.com/cpp-linter/cpp-linter/releases/v"
184
- href_title = "Required Version"
184
+ href_title = "Minimum Version"
185
185
186
186
def run (self ):
187
187
self .badge_icon = load_svg_into_builder_env (
@@ -211,12 +211,13 @@ def run(self):
211
211
"1.6.1" : ["thread_comments" , "no_lgtm" ],
212
212
"1.6.0" : ["step_summary" ],
213
213
"1.4.7" : ["extra_arg" ],
214
+ "1.8.1" : ["jobs" ],
214
215
}
215
216
216
217
PERMISSIONS = {
217
218
"thread_comments" : ["thread-comments" , "issues: write" ],
218
- "tidy_review" : ["pull-request-reviews" , "pull_request : write" ],
219
- "format_review" : ["pull-request-reviews" , "pull_request : write" ],
219
+ "tidy_review" : ["pull-request-reviews" , "pull-requests : write" ],
220
+ "format_review" : ["pull-request-reviews" , "pull-requests : write" ],
220
221
"files_changed_only" : ["file-changes" , "contents: read" ],
221
222
"lines_changed_only" : ["file-changes" , "contents: read" ],
222
223
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ The :std:option:`--thread-comments` feature requires the following permissions:
31
31
32
32
permissions :
33
33
issues : write # (1)!
34
- pull_requests : write # (2)!
34
+ pull-requests : write # (2)!
35
35
36
36
.. code-annotations ::
37
37
@@ -47,4 +47,4 @@ The :std:option:`--tidy-review` and :std:option:`--format-review` features requi
47
47
.. code-block :: yaml
48
48
49
49
permissions :
50
- pull_requests : write
50
+ pull-requests : write
You can’t perform that action at this time.
0 commit comments