1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import dataclasses
import textwrap
@dataclasses.dataclass(slots=True, frozen=True)
class PublicNamedStyle:
name: str
long_description: str
ALL_PUBLIC_NAMED_STYLES = {
s.name: s
for s in [
PublicNamedStyle(
"black",
long_description=textwrap.dedent(
"""\
Uncompromising file formatting of Debian packaging files
By using it, you agree to cede control over minutiae of hand-formatting. In
return, the formatter gives you speed, determinism, and freedom from style
discussions about formatting.
The `black` style is inspired by the `black` Python code formatter. Like with
`black`, the style will evolve over time.
"""
),
),
]
}
|