-
Notifications
You must be signed in to change notification settings - Fork 15
/
.flake8
24 lines (23 loc) · 773 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[flake8]
max-complexity = 10
max-line-length = 120
extend-ignore =
# E203 must be disabled for Flake8 to work with Black.
# See https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#id1
E203
exclude =
.git,
__pycache__,
.env,
.venv,
backend/substrapp/tests/assets.py,
backend/orchestrator/*_pb2.py,
backend/orchestrator/*_grpc.py,
per-file-ignores =
# F401: module imported but unused
# F403: 'from module import *' used; unable to detect undefined names
# F405: name may be undefined, or defined from star imports: module
backend/backend/settings/*:F401,F403,F405
# N802: function name should be lowercase
# N806: variable in function should be lowercase
fixtures/**:N802,N806