[flake8]
filename =
    *.py,
    */debian-stuff/katello,
ignore =
    # E203 whitespace before ':'
    # result of black-formatted code
    E203,
    # W503: line break before binary operator
    W503
per-file-ignores =
    # we need to mock some modules before importing additional files
    test/test_repolib.py: E402
    # trailing whitespace in test data
    test/certdata.py: W291
extend-exclude =
    # default build directory
    build/,
    # cockpit bits downloaded during the cockpit CI run
    integration-tests/submancockpit/,
    # virtualenvs for testing, e.g. as used in the jenkins CI
    env-*,
max-line-length = 110
