---
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/mozbuild
        - python/mozversioncontrol
        - security
        - services/common/tests/mach_commands.py
        - servo
        - taskcluster/docker/funsize-update-generator
        - testing/awsy
        - testing/firefox-ui
        - testing/geckodriver
        - testing/gtest
        - testing/mochitest
        - 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
