.flake8
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 20 Feb 2019 17:36:01 +0900
changeset 1845713 e2ae28fa89f147f5796112e9acafa95f14a94e8e
parent 1834668 f96c1460ffc09ef61bf3e2c93bfda21cdb86fb2f
child 1835141 6feeb5a1ea091d4d05244cf4d4218656d5555c93
child 1842085 d9cdce716e5f5db67c9ec0d25eaaf5bd8c33e25c
child 1845142 299263632ddf9bf670688bbea5f0f6237d2d3815
child 1845963 b2c05bb8ee3bd375205c8b03adb1772af8dd8191
permissions -rw-r--r--
Bug 1529195 - Allow to opt-in to symbols/host-bin artifacts from the CLI. r?build and to opt-out of test artifacts. Differential Revision: https://phabricator.services.mozilla.com/D20446

[flake8]
max-line-length = 99
exclude =
    build/build-infer/build-infer.py,
    build/moz.configure/*.configure,
    build/pymake/,
    browser/extensions/mortar/ppapi/,
    browser/moz.configure,
    dom/canvas/test/webgl-conf/checkout/closure-library/,
    editor/libeditor/tests/browserscope/,
    intl/icu/,
    ipc/chromium/src/third_party/,
    js/*.configure,
    gfx/angle/,
    gfx/harfbuzz,
    glx/skia/,
    memory/moz.configure,
    mobile/android/*.configure,
    node_modules,
    security/nss/,
    testing/firefox-ui/**/__init__.py,
    testing/marionette/**/__init__.py,
    testing/marionette/harness/marionette_harness/runner/mixins,
    testing/marionette/harness/marionette_harness/tests,
    testing/mochitest/pywebsocket,
    testing/mozharness/configs/test/test_malformed.py,
    tools/lint/test/files,
    tools/infer/test/*.configure,
    tools/crashreporter/*.configure,

# 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.
    F632, F633, F811, E117, 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,

per-file-ignores =
    ipc/ipdl/*: F403, F405
    testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391