tools/lint/py2.yml
author Mantaroh Yoshinaga <mantaroh@gmail.com>
Fri, 13 Oct 2017 09:46:39 +0900
changeset 385979 0466471b9f67aa6a60bf3fb98515532e8a53095d
parent 384420 904d12098f33904e642bab4089c17700cd116e8c
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

---
py2:
    description: Python 2 compatibility check
    include: ['.']
    exclude:
        - accessible/xpcom/AccEventGen.py
        - browser
        - build
        - client.py
        - config
        - configure.py
        - devtools/shared/css/generated/mach_commands.py
        - dom
        - editor
        - gfx
        - intl
        - ipc
        - js/src
        - js/xpconnect
        - layout
        - media
        - memory
        - mobile
        - modules
        - mozglue
        - netwerk
        - nsprpub
        - other-licenses
        - probes/trace-gen.py
        - python/devtools
        - python/mach
        - python/mozboot
        - python/mozbuild
        - python/mozversioncontrol
        - security
        - services/common/tests/mach_commands.py
        - servo
        - testing/awsy
        - testing/firefox-ui
        - testing/geckodriver
        - testing/gtest
        - testing/instrumentation/runinstrumentation.py
        - testing/marionette
        - testing/mochitest
        - testing/mozbase
        - testing/mozharness
        - testing/remotecppunittests.py
        - testing/runcppunittests.py
        - testing/runtimes
        - testing/tools
        - testing/tps
        - testing/web-platform
        - third_party
        - toolkit
        - tools/docs
        - tools/git/eslintvalidate.py
        - tools/jprof/split-profile.py
        - tools/lint
        - tools/mach_commands.py
        - tools/mercurial/eslintvalidate.py
        - tools/power/mach_commands.py
        - tools/profiler
        - tools/rb
        - tools/update-packaging
        - xpcom
    extensions: ['py']
    type: external
    payload: python.compat:lintpy2