[flake8]
exclude = .git,.venv,.venv-*,__pycache__

# Config recommended by black:
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#bugbear
max-line-length = 80
extend-select = B950
extend-ignore = E203,E501,E701

per-file-ignores =
    # Ignore undefined names in templates.
    README_examples/*.py:F821,F401,E302
    # Ignore mid-file imports: These are better for exaplanation.
    README_test.py:E402
