]> git.madduck.net Git - etc/vim.git/blobdiff - .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:

Make black remove leading and trailing spaces from one-line docstrings (#1740)
[etc/vim.git] / .github / ISSUE_TEMPLATE / bug_report.md
index 4c51d3020bbbbca39a300e8d1cd7df534b45cb77..f4a438622aaef274309e4ec2d13c9eed597c5d13 100644 (file)
@@ -1,37 +1,36 @@
 ---
 name: Bug report
 about: Create a report to help us improve
-title: ''
+title: ""
 labels: bug
-assignees: ''
-
+assignees: ""
 ---
 
-**Describe the bug**
-A clear and concise description of what the bug is.
+**Describe the bug** A clear and concise description of what the bug is.
+
+**To Reproduce** Steps to reproduce the behavior:
 
-**To Reproduce**
-Steps to reproduce the behavior:
 1. Take this file '...'
-2. Run *Black* on it with these arguments '....'
+2. Run _Black_ on it with these arguments '....'
 3. See error
 
-**Expected behavior**
-A clear and concise description of what you expected to happen.
+**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.
-
-**Additional context**
-Add any other context about the problem here.
+**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 .[d,python2]`;
+   - run `pip install -r test_requirements.txt`
+   - make sure it's sane by running `python -m unittest`; and
+   - run `black` like you did last time.
+
+**Additional context** Add any other context about the problem here.