-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
19 lines (16 loc) · 871 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. B008 Do not perform function calls in argument defaults. (It's a FastAPI thing for File uploads, and Depends)
extend-ignore: F541,E203,Q003,E501,B008,E266
per-file-ignores = __init__.py:F401
# 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 = """