[flake8]
max-line-length = 115

ignore =
    # these rules don't play well with black
    # whitespace before :
    E203
    # line break before binary operator
    W503

exclude =
    .venv
    .git
    __pycache__
    docs/build
    dist
    .mypy_cache
    tests
    benchmarks
    examples
    golang
    build
    client.py
    benchmarks.py
    benchmarks_async.py
    test_async.py
    test_cache.py

per-file-ignores =
    # __init__.py files are allowed to have unused imports, star imports, and lines-too-long
    */__init__.py:F401,F403,F405
    */**/**/__init__.py:F401,F403,F405,E501
