From: Hugo van Kemenade Date: Mon, 15 Jun 2020 16:15:11 +0000 (+0300) Subject: Issue template: Add Python code formatting (#1485) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ea03b6c5e1f96aa2569f0080a61577b368b7af0d?ds=inline Issue template: Add Python code formatting (#1485) Makes things a bit more readable --- diff --git a/.github/ISSUE_TEMPLATE/style_issue.md b/.github/ISSUE_TEMPLATE/style_issue.md index 4810ea4..6d1f246 100644 --- a/.github/ISSUE_TEMPLATE/style_issue.md +++ b/.github/ISSUE_TEMPLATE/style_issue.md @@ -12,7 +12,7 @@ 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 @@ -20,7 +20,7 @@ def f(): **Desired style** How do you think _Black_ should format the above snippets: -``` +```python def f( ): pass