-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
37 lines (36 loc) · 880 Bytes
/
setup.cfg
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
[flake8]
# max line length for black
max-line-length = 88
target-version = ['py37']
# Default flake8 3.5 ignored flags
ignore=
# check ignored by default in flake8. Meaning unclear.
E24,
# space before : (needed for how black formats slicing)
E203,
# do not assign a lambda expression, use a def
E731,
# do not use variables named 'l', 'O', or 'I'
E741,
# line break before binary operator
W503,
# line break after binary operator
W504
exclude=
.git,
__pycache__,
dist,
sklearn/externals,
doc/_build,
doc/auto_examples,
doc/tutorial,
build,
asv_benchmarks/env,
asv_benchmarks/html,
asv_benchmarks/results,
asv_benchmarks/benchmarks/cache
# It's fine not to put the import at the top of the file in the examples
# folder.
per-file-ignores =
examples/*: E402
doc/conf.py: E402