gecko-dev/tools/lint/py2.yml
Andrew Halberstadt 4c232ca311 Bug 1436792 - [py-compat] Improve error messaging when python is missing, r=jmaher
This patch makes a few changes around error handling:

1) Prints the name of the linter that produced non-json output
2) Changes the 'python not found' error to a warning (as this is not fatal)
3) Makes sure said warning only gets printed once (by moving it to the setup function)

MozReview-Commit-ID: Dkq7CulTs91

--HG--
extra : rebase_source : 5d4bd32a62264a88520c09420f5acd90edcdc740
2018-02-08 14:26:15 -05:00

65 lines
1.5 KiB
YAML

---
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/jprof/split-profile.py
- tools/lint
- tools/mach_commands.py
- tools/power/mach_commands.py
- tools/profiler
- tools/rb
- tools/update-packaging
- xpcom
extensions: ['py']
type: external
payload: python.compat:lintpy2
setup: python.compat:setuppy2