[flake8]
# Extreme FE Ansible Collection - Flake8 Configuration

max-line-length = 120
max-complexity = 20

# Ignore some rules that conflict with black formatter
extend-ignore =
    E203,
    E501,
    W503

# Exclude directories
exclude =
    .git,
    __pycache__,
    build,
    dist,
    *.egg-info,
    .tox,
    .venv,
    venv,
    .eggs,
    tests/output,
    tests,

# Per-file ignores
per-file-ignores =
    # Allow module docstrings to be long
    plugins/modules/*.py: E501
    # Test files can have more flexibility
    tests/*.py: E501
