Issue template: Add Python code formatting (#1485)
Makes things a bit more readable
This commit is contained in:
parent
b2c13de490
commit
ea03b6c5e1
4
.github/ISSUE_TEMPLATE/style_issue.md
vendored
4
.github/ISSUE_TEMPLATE/style_issue.md
vendored
@ -12,7 +12,7 @@ improved.
|
|||||||
**Examples in the current _Black_ style** Think of some short code snippets that show
|
**Examples in the current _Black_ style** Think of some short code snippets that show
|
||||||
how the current _Black_ style is not great:
|
how the current _Black_ style is not great:
|
||||||
|
|
||||||
```
|
```python
|
||||||
def f():
|
def f():
|
||||||
"Make sure this code is blackened"""
|
"Make sure this code is blackened"""
|
||||||
pass
|
pass
|
||||||
@ -20,7 +20,7 @@ def f():
|
|||||||
|
|
||||||
**Desired style** How do you think _Black_ should format the above snippets:
|
**Desired style** How do you think _Black_ should format the above snippets:
|
||||||
|
|
||||||
```
|
```python
|
||||||
def f(
|
def f(
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user