[flake8]
max-line-length = 88
extend-ignore = E203, W503, E501
exclude = 
    .git,
    __pycache__,
    .venv,
    .tox,
    build,
    dist,
    *.egg-info,
    .eggs,
    .idea

# Error codes to ignore:
# E203: whitespace before ':' (conflicts with black)
# W503: line break before binary operator (conflicts with black)
# E501: line too long (handled by black)

per-file-ignores = 
    # Tests can be longer and less strict
    tests/*.py:E501,F401,F811
    # Examples can have unused imports for demonstration
    examples/*.py:F401
    # Init files may have unused imports for API exposure
    __init__.py:F401
    # Tools can be more flexible
    tools/*.py:E501

max-complexity = 12
import-order-style = google
application-import-names = pcloud_sdk