.flake8
author Nathan Froyd <froydnj@mozilla.com>
Mon, 02 Jul 2018 20:36:49 -0400
changeset 424774 9136af7a5017897cf5ed371b5b595e6d864b261e
parent 421752 09a74b229025e9cd883bf6e6b4dd1ed7998e7050
child 425314 b9e9d507a53cfb13c5183adba4cc4489f62e1cce
permissions -rw-r--r--
Bug 1472805 - silence more clang-cl warnings; r=chmanchester clang seems to have decided that a new warning, -Wused-but-marked-unused, is useful. For the purposes of our codebase, where we add __attribute__((unused)) explicitly to avoid warnings about unused things, this new warning is useless. The new warning is also quite noisy, given that we have unused things in commonly-used headers like Assertions.h. So disable the warning.

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741
max-line-length = 99
exclude =
    browser/extensions/mortar/ppapi/,
    build/pymake/,
    node_modules,
    security/nss/,
    testing/mochitest/pywebsocket,
    tools/lint/test/files,