X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51f1e0a8734195aab4b70b32908cdb9607d8f82c..d4a85643a465f5fae2113d07d22d021d4af4795a:/.github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4c51d30..48aa929 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,37 +1,64 @@ --- name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - +about: Create a report to help us improve Black's quality +title: "" +labels: "T: bug" +assignees: "" --- + + **Describe the bug** -A clear and concise description of what the bug is. + + **To Reproduce** -Steps to reproduce the behavior: -1. Take this file '...' -2. Run *Black* on it with these arguments '....' -3. See error + + + +For example, take this code: + +```python +this = "code" +``` + +And run it with these arguments: + +```sh +$ black file.py --target-version py39 +``` + +The resulting error is: + +> cannot format file.py: INTERNAL ERROR: ... **Expected behavior** -A clear and concise description of what you expected to happen. - -**Environment (please complete the following information):** -- Version: [e.g. master] -- OS and Python version: [e.g. Linux/Python 3.7.4rc1] - -**Does this bug also happen on master?** -To answer this, you have two options: -1. Use the online formatter at https://black.now.sh/?version=master, which will use the latest master branch. -2. Or run *Black* on your machine: - * create a new virtualenv (make sure it's the same Python version); - * clone this repository; - * run `pip install -e .`; - * make sure it's sane by running `python setup.py test`; and - * run `black` like you did last time. + + + +**Environment** + + + +- Black's version: +- OS and Python version: **Additional context** -Add any other context about the problem here. + +