forked from twosixlabs/armory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
36 lines (26 loc) · 730 Bytes
/
.flake8
File metadata and controls
36 lines (26 loc) · 730 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
34
35
36
# TODO: move this to pyproject.toml when supported, see https://github.com/PyCQA/flake8/issues/234
[flake8]
#imported but unused in __init__.py, that's ok.
per-file-ignores = **/__init__.py:F401
exclude =
.git,
datasets,
venv*,
__pycache__,
build,
dist,
ignore =
# defaults flake8 ignores
E121,E123,E126,E226,E24,E704,W503,W504
# import not at top
E402
# whitespace before ':'
# https://black.readthedocs.io/en/stable/the_black_code_style.html#slices
E203
# missing whitespace after ','
# black takes care of that. Sometimes it may
# add a comma at the end of lists.
E231
# Line too long
# We use black, no need to enforce line length
E501