tools/lint/flake8.yml
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 22 Feb 2019 21:25:50 +0000
changeset 460907 4624c850f711417ae3cc95f3e69ce4cb6c07f70b
parent 453945 ad473f67f76950921b049ffe896dd25a0e987de6
permissions -rw-r--r--
Bug 1367092 - [flake8] Use a blacklist instead of a whitelist, r=egao This ensures that the default for new python files is to be linted by flake8. Depends on D20496 Differential Revision: https://phabricator.services.mozilla.com/D20497

---
flake8:
    description: Python linter
    # Excludes should be added to topsrcdir/.flake8.
    exclude: []
    # The configure option is used by the build system
    extensions: ['configure', 'py']
    support-files:
        - '**/.flake8'
        - 'tools/lint/python/flake8*'
    type: external
    payload: python.flake8:lint
    setup: python.flake8:setup