2023-09-07 01:57:42 +00:00
|
|
|
[flake8]
|
2023-04-12 18:31:58 +00:00
|
|
|
ignore =
|
|
|
|
# Conflicts with black
|
|
|
|
E203
|
|
|
|
# defaults flake8 ignores
|
|
|
|
E121,E123,E126,E226,E24,E704,W503,W504
|
|
|
|
# Function name should be lowercase
|
|
|
|
N802
|
|
|
|
# lowercase ... imported as non lowercase
|
|
|
|
# Useful to ignore for "import keras.backend as K"
|
|
|
|
N812
|
|
|
|
# do not use bare 'except'
|
|
|
|
E722
|
2023-04-22 06:16:51 +00:00
|
|
|
# too many "#"
|
|
|
|
E266
|
2023-04-12 18:31:58 +00:00
|
|
|
|
|
|
|
exclude =
|
2023-08-30 20:15:21 +00:00
|
|
|
*_pb2.py,
|
|
|
|
*_pb2_grpc.py,
|
|
|
|
|
|
|
|
extend-exclude =
|
|
|
|
# excluding examples/ and guides/ since they are formatted as follow-along guides
|
|
|
|
examples,
|
|
|
|
guides,
|
|
|
|
|
2023-04-12 18:31:58 +00:00
|
|
|
|
|
|
|
#imported but unused in __init__.py, that's ok.
|
2023-04-22 06:16:51 +00:00
|
|
|
per-file-ignores =
|
|
|
|
# import not used
|
|
|
|
**/__init__.py:F401
|
2023-04-28 00:51:32 +00:00
|
|
|
**/random.py:F401
|
2023-08-30 20:15:21 +00:00
|
|
|
|
2023-04-22 06:16:51 +00:00
|
|
|
max-line-length = 80
|