forked from keras-team/keras
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
33 lines (28 loc) · 687 Bytes
/
setup.cfg
File metadata and controls
33 lines (28 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[flake8]
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
# too many "#"
E266
exclude =
*_pb2.py,
*_pb2_grpc.py,
extend-exclude =
# excluding examples/ and guides/ since they are formatted as follow-along guides
examples,
guides,
#imported but unused in __init__.py, that's ok.
per-file-ignores =
# import not used
**/__init__.py:F401
**/random.py:F401
max-line-length = 80