File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 9
9
types : [published]
10
10
11
11
jobs :
12
- run-if :
13
- name : " Run If"
14
- runs-on : ubuntu-latest
15
- if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
16
- steps :
17
- - run : |
18
- echo "Running CI"
19
12
test :
20
13
name : " Test"
21
- needs : ["run-if"]
22
14
runs-on : ubuntu-latest
23
15
strategy :
24
16
fail-fast : false
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ def render(self, el: ds.DocstringSectionParameters):
421
421
@dispatch
422
422
def render (self , el : ds .DocstringParameter ) -> Tuple [str ]:
423
423
# TODO: if default is not, should return the word "required" (unescaped)
424
- default = "required " if el .default is None else escape (el .default )
424
+ default = "_required_ " if el .default is None else escape (el .default )
425
425
426
426
annotation = self .render_annotation (el .annotation )
427
427
clean_desc = sanitize (el .description , allow_markdown = True )
You can’t perform that action at this time.
0 commit comments