Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue templates: use HTML comments #2269

Merged
merged 1 commit into from May 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 21 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -6,22 +6,31 @@ labels: bug
assignees: ""
---

**Describe the bug** A clear and concise description of what the bug is.
**Describe the bug**

**To Reproduce** Steps to reproduce the behavior:
<!-- A clear and concise description of what the bug is. -->

**To Reproduce**

<!-- Steps to reproduce the behavior:

For example:
1. Take this file '...'
1. Run _Black_ on it with these arguments '....'
1. See error
1. Run _Black_ on it with these arguments '...'
1. See error -->

**Expected behavior**

**Expected behavior** A clear and concise description of what you expected to happen.
<!-- A clear and concise description of what you expected to happen. -->

**Environment (please complete the following information):**

- Version: \[e.g. main\]
- OS and Python version: \[e.g. Linux/Python 3.7.4rc1\]
- Version: <!-- e.g. [main] -->
- OS and Python version: <!-- e.g. [Linux/Python 3.7.4rc1] -->

**Does this bug also happen on main?** To answer this, you have two options:
**Does this bug also happen on main?**

<!-- To answer this, you have two options:

1. Use the online formatter at <https://black.vercel.app/?version=main>, which will use
the latest main branch.
Expand All @@ -31,6 +40,8 @@ assignees: ""
- run `pip install -e .[d,python2]`;
- run `pip install -r test_requirements.txt`
- make sure it's sane by running `python -m pytest`; and
- run `black` like you did last time.
- run `black` like you did last time. -->

**Additional context**

**Additional context** Add any other context about the problem here.
<!-- Add any other context about the problem here. -->
24 changes: 16 additions & 8 deletions .github/ISSUE_TEMPLATE/feature_request.md
Expand Up @@ -6,14 +6,22 @@ labels: enhancement
assignees: ""
---

**Is your feature request related to a problem? Please describe.** A clear and concise
description of what the problem is. Ex. I'm always frustrated when \[...\]
**Is your feature request related to a problem? Please describe.**

**Describe the solution you'd like** A clear and concise description of what you want to
happen.
<!-- A clear and concise description of what the problem is.
e.g. I'm always frustrated when [...] -->

**Describe alternatives you've considered** A clear and concise description of any
alternative solutions or features you've considered.
**Describe the solution you'd like**

**Additional context** Add any other context or screenshots about the feature request
here.
<!-- A clear and concise description of what you want to
happen. -->

**Describe alternatives you've considered**

<!-- A clear and concise description of any
alternative solutions or features you've considered. -->

**Additional context**

<!-- Add any other context or screenshots about the feature request
here. -->
20 changes: 14 additions & 6 deletions .github/ISSUE_TEMPLATE/style_issue.md
Expand Up @@ -6,24 +6,32 @@ labels: design
assignees: ""
---

**Describe the style change** A clear and concise description of how the style can be
improved.
**Describe the style change**

**Examples in the current _Black_ style** Think of some short code snippets that show
how the current _Black_ style is not great:
<!-- A clear and concise description of how the style can be
improved. -->

**Examples in the current _Black_ style**

<!-- Think of some short code snippets that show
how the current _Black_ style is not great: -->

```python
def f():
"Make sure this code is blackened"""
pass
```

**Desired style** How do you think _Black_ should format the above snippets:
**Desired style**

<!-- How do you think _Black_ should format the above snippets: -->

```python
def f(
):
pass
```

**Additional context** Add any other context about the problem here.
**Additional context**

<!-- Add any other context about the problem here. -->