[flake8]
# Intial set of rules
# Feel Free to add any new rule here with description of what it does.

# E203	Whitespace before ':'
# E266	Too many leading '#' for block comment
# E501	Line too long (82 > 79 characters)
# W503	Line break occurred before a binary operator
# F405  '<function>' may be undefined, or defined from star imports
# E402  module level import not at top of file
# E731  do not assign a lambda expression, use a def
# F821  undefined name 'get_ipython' --> from generated python files using nbconvert
# W605  invalid escape sequence '\W'

filename =
    *.py,

exclude =
    .git,
    __pycache__,

select =
	E772,
	F401,
	F811,
	E901,
	E999,
	F821,
	F822,
	F823,
	C901, # complexity
	E501, # line length
	E225 # whitespace around operators
max_complexity = 70
show_source = True
statistics = True
count = True

# TBH I prefer 120 as opposed to 79/88
max_line_length = 120
