forked from cfpb/consumerfinance.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
42 lines (37 loc) · 1007 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[flake8]
ignore =
# There's nothing wrong with assigning lambdas
E731,
# PEP8 weakly recommends Knuth-style line breaks before binary
# operators
W503, W504
exclude =
# These are directories that it's a waste of time to traverse
.git,
.tox,
.venv,
ansible,
bin,
config,
develop-apps,
docs,
gulp,
requirements,
node_modules,
site,
# And directories in cfgov that don't have python files to lint
cfgov/jinja2,
cfgov/static_built,
cfgov/templates,
cfgov/unprocessed,
# Generated migration files will throw errors. We need to find a way
# to exclude django-generated migrations while including
# manually-written migrations.
*/migrations/*.py,
# Our settings files might need to conform to different readability
# standards
cfgov/cfgov/settings/*,
# Now we come to the bits we exclude because they haven't had a
# proper cleanup yet.
cfgov/v1/tests,
# max-complexity = 10