From ea03b6c5e1f96aa2569f0080a61577b368b7af0d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 15 Jun 2020 19:15:11 +0300 Subject: [PATCH] Issue template: Add Python code formatting (#1485) Makes things a bit more readable --- .github/ISSUE_TEMPLATE/style_issue.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5