]> git.madduck.net Git - etc/vim.git/blob - .github/ISSUE_TEMPLATE/bug_report.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Update bug template (#2538)
[etc/vim.git] / .github / ISSUE_TEMPLATE / bug_report.md
1 ---
2 name: Bug report
3 about: Create a report to help us improve Black's quality
4 title: ""
5 labels: "T: bug"
6 assignees: ""
7 ---
8
9 <!--
10 Please make sure that the bug is not already fixed either in newer versions or the
11 current development version. To confirm this, you have three options:
12
13 1. Update Black's version if a newer release exists: `pip install -U black`
14 2. Use the online formatter at <https://black.vercel.app/?version=main>, which will use
15    the latest main branch.
16 3. Or run _Black_ on your machine:
17    - create a new virtualenv (make sure it's the same Python version);
18    - clone this repository;
19    - run `pip install -e .[d,python2]`;
20    - run `pip install -r test_requirements.txt`
21    - make sure it's sane by running `python -m pytest`; and
22    - run `black` like you did last time.
23 -->
24
25 **Describe the bug**
26
27 <!-- A clear and concise description of what the bug is. -->
28
29 **To Reproduce**
30
31 <!--
32 Minimal steps to reproduce the behavior with source code and Black's configuration.
33 -->
34
35 For example, take this code:
36
37 ```python
38 this = "code"
39 ```
40
41 And run it with these arguments:
42
43 ```sh
44 $ black file.py --target-version py39
45 ```
46
47 The resulting error is:
48
49 > cannot format file.py: INTERNAL ERROR: ...
50
51 **Expected behavior**
52
53 <!-- A clear and concise description of what you expected to happen. -->
54
55 **Environment**
56
57 <!-- Please complete the following information: -->
58
59 - Black's version: <!-- e.g. [main] -->
60 - OS and Python version: <!-- e.g. [Linux/Python 3.7.4rc1] -->
61
62 **Additional context**
63
64 <!-- Add any other context about the problem here. -->