[flake8]
exclude =
    # No need to traverse the git directory
    .git,
    # No value in checking cache directories
    __pycache__,
    # The conf file is mostly autogenerated, ignore it
    docs/source/conf.py,
    build,
    dist,
    .tox,
    *.egg
max-line-length = 80
# B950: Line too long. It considers "max-line-length"
# but only triggers when the value has been exceeded
# by more than 10%. So the efective max line length is 88
# Disable E501 to avoid duplicate warnings.
select = C, E, F, W, B, B950
# E203 and W503 are not PEP 8 compliant
ignore = E203, E501, W503
# emit a warning for high McCabe complexity
# See https://en.wikipedia.org/wiki/Cyclomatic_complexity
# max-complexity = 10
per-file-ignores = __init__.py:F401
