# Flake8 configuration for the QGIS plugin quality scanner
# (https://plugins.qgis.org/docs/security-scanning/config-files)
#
# _vendor/ is an unmodified copy of the third-party xlsxwriter library; its
# style is upstream's business, so it is excluded from the quality scan.
# W503 (line break before binary operator) is also ignored globally: it is
# mutually exclusive with W504 and pycodestyle itself disables it by default.

[flake8]
max-line-length = 120
extend-exclude = _vendor
extend-ignore = W503,E203,E501
per-file-ignores =
    _vendor/*:W503,W504,E203,E501
    */_vendor/*:W503,W504,E203,E501
