summaryrefslogtreecommitdiffstats
path: root/tools/lint/py2.yml
blob: f435e39d1eadbf0d822748875f8c882f28dc22c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
py2:
    description: Python 2 compatibility check
    include: ['.']
    exclude:
        - build
        - dom
        - editor
        - gfx
        - ipc
        - js/src
        - layout
        - modules
        - mozglue
        - netwerk
        - nsprpub
        - other-licenses
        - python/mozbuild/mozbuild/fork_interpose.py
        - security
        - servo
        - taskcluster/docker/funsize-update-generator
        - taskcluster/docker/visual-metrics
        - testing/condprofile
        - testing/gtest
        - testing/mochitest
        - testing/mozharness
        - testing/raptor
        - testing/tools
        - testing/web-platform
        - toolkit
        - tools/update-packaging
        - xpcom

        # These paths are intentionally excluded (Python 3 only)
        - config/create_rc.py
        - config/create_res.py
        - config/printconfigsetting.py
        - python/mozbuild/mozbuild/action/unify_symbols.py
        - python/mozbuild/mozbuild/action/unify_tests.py
        - python/mozbuild/mozbuild/html_build_viewer.py
        - python/mozbuild/mozpack/unify.py
        - python/mozbuild/mozpack/test/test_unify.py
        - python/mozlint
        - python/mozperftest
        - python/mozrelease/mozrelease/partner_repack.py
        - taskcluster/test
        - testing/performance
        - tools/crashreporter/system-symbols/win/symsrv-fetch.py
        - tools/github-sync
        - tools/lint
        - tools/tryselect
    extensions: ['py']
    support-files:
        - 'tools/lint/python/*compat*'
    type: external
    payload: python.compat:lintpy2
    setup: python.compat:setuppy2