Debian Codegraph @

.github/ISSUE_TEMPLATE/style_issue.md

raw
1 ---
2 name: Code style issue
3 about: Help us improve the Black code style
4 title: ""
5 labels: "T: style"
6 assignees: ""
7 ---
8
9 **Describe the style change**
10
11 <!-- A clear and concise description of how the style can be
12 improved. -->
13
14 **Examples in the current _Black_ style**
15
16 <!-- Think of some short code snippets that show
17 how the current _Black_ style is not great: -->
18
19 ```python
20 def f():
21 """This code should be formatted as per the current Black style"""
22 pass
23 ```
24
25 **Desired style**
26
27 <!-- How do you think _Black_ should format the above snippets: -->
28
29 ```python
30 def f(
31 ):
32 """This code can be formatted however you suggest!"""
33 pass
34 ```
35
36 **Additional context**
37
38 <!-- Add any other context about the problem here. -->