tools/lint/flake8.yml
author Mantaroh Yoshinaga <mantaroh@gmail.com>
Fri, 13 Oct 2017 09:46:39 +0900
changeset 385979 0466471b9f67aa6a60bf3fb98515532e8a53095d
parent 385817 6074db12d685655fe5692d59471b3c32cc967dc9
child 386889 2b7c1abb35a882cfeb00e7a047a2781324ac00ca
permissions -rw-r--r--
Bug 1185236 - Shorten print job name when GTK version is older than 3.18.2. r=karlt Since GTK 3.18.2, GTK allows setting job name with more than 255 bytes. As result, CUPS received the IPP error. (RFC 2911, Section 4.3.1) This patch will shorten print job name, if runtime GTK version is older than 3.18.2. MozReview-Commit-ID: EfB87Bvo6hX

---
flake8:
    description: Python linter
    include:
        - build/moz.configure/*.configure
        - build/*.py
        - configure.py
        - config/check_macroassembler_style.py
        - config/mozunit.py
        - layout/tools/reftest
        - python/mach
        - python/mach_commands.py
        - python/mozlint
        - python/mozversioncontrol
        - security/manager
        - taskcluster
        - testing/firefox-ui
        - testing/mach_commands.py
        - testing/marionette/client
        - testing/marionette/harness
        - testing/marionette/puppeteer
        - testing/mozbase
        - testing/mochitest
        - testing/remotecppunittests.py
        - testing/runcppunittests.py
        - testing/talos/
        - testing/xpcshell
        - tools/git
        - tools/lint
        - tools/mercurial
        - tools/tryselect
        - toolkit/components/telemetry
    # Excludes should be added to topsrcdir/.flake8 due to a bug in flake8 where
    # specifying --exclude causes custom configuration files to be ignored.
    exclude: []
    # The configure option is used by the build system
    extensions: ['configure', 'py']
    type: external
    payload: python.flake8:lint