Skip to content

Commit 1054c80

Browse files
authored
Update BUG-REPORT.yml (#9049)
* Update `BUG-REPORT.yml` * Mark python-related codeblocks as python. It should be possible to format them a bit more vividly * Move `pip freeze` instructions to the description. It's copy-paste-able, which is nice ✨
1 parent aba10dc commit 1054c80

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ body:
2323
# Please disable message unrelated to the bug
2424
# pylint: disable=missing-docstring,
2525
<a> = b + 1
26+
render: python
2627
validations:
2728
required: true
2829
- type: textarea
@@ -63,7 +64,7 @@ body:
6364
placeholder: |
6465
************* Module a
6566
a.py:3:1: E0001: invalid syntax (<unknown>, line 1) (syntax-error)
66-
render: shell
67+
render: python
6768
validations:
6869
required: true
6970
- type: textarea
@@ -98,8 +99,10 @@ body:
9899
id: additional-deps
99100
attributes:
100101
label: Additional dependencies
101-
description: If applicable ie, if we can't reproduce without it
102+
description:
103+
If applicable ie, if we can't reproduce without it. Please copy and paste the
104+
result of `pip freeze`.
102105
placeholder: |
103-
Please copy and paste the result of `pip freeze`. For example:
104106
pandas==0.23.2
105107
marshmallow==3.10.0
108+
render: python

0 commit comments

Comments
 (0)