.flake8
author Martin Giger <martin@humanoids.be>
Thu, 02 Feb 2023 13:17:55 +0100
changeset 37979 ec66e789a69e5aab9f9d2a5266f93f1dcff76dba
parent 36959 fe247a4f15666446ba1263128f75f262bbba1150
permissions -rw-r--r--
Port Bug 961019 - Remove nsIClassInfo::MAIN_THREAD_ONLY. rs=bustage-fix

[flake8]
max-line-length = 99
exclude =
    # These paths should be triaged and either fixed or moved to the list below.
    python/l10n/tb_fluent_migrations

# See:
#   - http://flake8.pycqa.org/en/latest/user/error-codes.html
#   - http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore =
    # These should be triaged and either fixed or moved to the list below.
    W504, W605, W606,
    # These are intentionally disabled (not necessarily for good reason).
    #   F723: syntax error in type comment
    #       text contains quotes which breaks our custom JSON formatter
    F723, E121, E123, E126, E129, E133, E226, E241, E242, E402, E704, E741, W503,

    # black will generate code that breaks these. they're not PEP8 compliant though;
    # see https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8
    W503, E203

# per-file-ignores =

builtins =
    # For GDB extensions
    gdb