-
Notifications
You must be signed in to change notification settings - Fork 8
/
.flake8
42 lines (35 loc) · 887 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]
max-line-length = 88
exclude=
.git,
data,
__init__.py,
env,
old_files,
.vscode
.tox
ignore=
# False positive for white space before ':' on list slice
# black should format these correctly
E203,
# Block comment should start with '# '
# Not if it's a commented out line
E265,
# Ambiguous variable names
# It's absolutely fine to have i and I
E741,
# List comprehension redefines variable
# Re-using throw-away variables like `i`, `x`, etc. is a Good Idea
F812,
# Blank line at end of file
# This increases readability
W391,
# Line break before binary operator
# This is now actually advised in pep8
W503,
# Line break after binary operator
W504,
# Invalid escape sequence
# These happen all the time in latex parts of docstrings,
# e.g. \sigma
W605,