forked from ian-mcfarlane/pk-modelling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
33 lines (26 loc) · 744 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
[flake8]
exclude=
./.git,
./pkmodel.egg-info,
ignore=
# Block comment should start with '# '
# Not if it's a commented out line
E265,
# "Do not assign a labmda expression, use a def".
# This is a silly rule
E731,
# 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,
# Undefined name
# Good rule, but the check doesn't support dynamically created variables
F821,
# Blank line at end of file
# These can increase readability (in many editors)
W391,
# Binary operator on new line
# This is now advised in pep8
W503,