-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
19 lines (17 loc) · 877 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[flake8]
# We disable the following inspections:
# 1. F541: "f-string is missing placeholders" (we allow f-strings that don't do
# any formatting for consistent looks and for future safety)
# 2. Inspections incompatible with Black (see https://github.com/psf/black/blob/master/docs/compatible_configs.md#why-those-options-above-1):
# E203: whitespace before ':'
# 3. Q003 "Change outer quotes to avoid escaping inner quotes"
# 4. E501 "line too long" (covered by black)
# 5. W291 "trailing-whitespace" (covered by black)
# 6. W293 "blank line contains whitespace" (covered by black)
extend-ignore: F541,E203,Q003,E501,W291,W293
# Maximum number of characters on a single line. Default for black, see:
# https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
max-line-length: 88
inline-quotes = single
multiline-quotes = """
docstring-quotes = """