[flake8]
exclude = .git,.tox,__pycache__,.eggs,build
max-line-length = 100
ignore =
    # E265 block comment should start with '# '
    E265,
    # E266 too many leading '#' for block comment
    E266,
    # E402 module level import not at top of file
    E402,
    # E722 do not use bare except
    E722,
    # flake8 and black disagree about
    # W503 line break before binary operator
    # E203 whitespace before ':'
    # E701/E704 multiple statements on one line
    # https://black.readthedocs.io/en/latest/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
    W503,E203,E701,E704
doctests = true
