Skip to content

Commit 577261d

Browse files
cleanup bug report template (#10752)
* cleanup bug report template * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 78b3e9d commit 577261d

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

.github/ISSUE_TEMPLATE/bugreport.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,14 @@ body:
2626
attributes:
2727
label: Minimal Complete Verifiable Example
2828
description: |
29-
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
30-
render: Python
31-
32-
- type: checkboxes
33-
id: mvce-checkboxes
34-
attributes:
35-
label: MVCE confirmation
36-
description: |
37-
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
38-
39-
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
40-
- [Craft Minimal Bug Reports](https://matthewrocklin.com/minimal-bug-reports)
29+
Minimal, self-contained copy-pastable example that demonstrates the issue.
4130
4231
Consider listing additional or specific dependencies in [inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/#example)
4332
so that calling `uv run issue.py` shows the issue when copied into `issue.py`. (not strictly required)
33+
34+
This will be automatically formatted into code, so no need for markdown backticks.
35+
render: Python
4436
value: |
45-
```python
4637
# /// script
4738
# requires-python = ">=3.11"
4839
# dependencies = [
@@ -55,7 +46,25 @@ body:
5546
import xarray as xr
5647
xr.show_versions()
5748
# your reproducer code ...
58-
```
49+
50+
- type: textarea
51+
id: reproduce
52+
attributes:
53+
label: Steps to reproduce
54+
description:
55+
validations:
56+
required: false
57+
58+
- type: checkboxes
59+
id: mvce-checkboxes
60+
attributes:
61+
label: MVCE confirmation
62+
description: |
63+
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
64+
65+
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
66+
- [Craft Minimal Bug Reports](https://matthewrocklin.com/minimal-bug-reports)
67+
5968
options:
6069
- label: Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
6170
- label: Complete example — the example is self-contained, including all data and the text of any traceback.

0 commit comments

Comments
 (0)