#Flake8 supports storing its configuration in your project in one of setup.cfg, tox.ini, or .flake8
[flake8]
# mccabe code complexity metric: 10 is too much
max-complexity = 10
max-line-length = 120

ignore =
    # "Use of assert detected. The enclosed code will be removed when compiling to optimised byte code."
    # This is useless in tests/ where we WANT to have asserts
    S101
    # "Docstrings first line must end in a period"
    D400
    # "Possible SQL injection vector through string-based query construction."
    S608
    # "Consider possible security implications associated with pickle module."
    S403
    # "Pickle and modules that wrap it can be unsafe when used to deserialize untrusted
    # data, possible security issue."
    S301
    # redefine unused variables
    F811
    # line break before binary operator
    W503

extend-ignore =
    # See https://github.com/PyCQA/pycodestyle/issues/373
    E203,
