File: black_preview.py

package info (click to toggle)
flake8-black 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: python: 207; sh: 38; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Example showing future black string reformatting."""

a_very_long_variable = 17.3
short_value = 1234567890


def and_a_very_long_function_call():
    """Deep thought."""
    return 42


my_dict = {
    "a key in my dict": a_very_long_variable
    * and_a_very_long_function_call()
    / 100000.0,
    "another key": (short_value),
}