##// END OF EJS Templates
pytype: drop py3.6 support...
Matt Harbison -
r49883:455dce34 default
parent child Browse files
Show More
@@ -1,73 +1,71 b''
1 #require pytype py3 slow
1 #require pytype py3 slow
2
2
3 $ cd $RUNTESTDIR/..
3 $ cd $RUNTESTDIR/..
4
4
5 Many of the individual files that are excluded here confuse pytype
5 Many of the individual files that are excluded here confuse pytype
6 because they do a mix of Python 2 and Python 3 things
6 because they do a mix of Python 2 and Python 3 things
7 conditionally. There's no good way to help it out with that as far as
7 conditionally. There's no good way to help it out with that as far as
8 I can tell, so let's just hide those files from it for now. We should
8 I can tell, so let's just hide those files from it for now. We should
9 endeavor to empty this list out over time, as some of these are
9 endeavor to empty this list out over time, as some of these are
10 probably hiding real problems.
10 probably hiding real problems.
11
11
12 mercurial/bundlerepo.py # no vfs and ui attrs on bundlerepo
12 mercurial/bundlerepo.py # no vfs and ui attrs on bundlerepo
13 mercurial/context.py # many [attribute-error]
13 mercurial/context.py # many [attribute-error]
14 mercurial/crecord.py # tons of [attribute-error], [module-attr]
14 mercurial/crecord.py # tons of [attribute-error], [module-attr]
15 mercurial/debugcommands.py # [wrong-arg-types]
15 mercurial/debugcommands.py # [wrong-arg-types]
16 mercurial/dispatch.py # initstdio: No attribute ... on TextIO [attribute-error]
16 mercurial/dispatch.py # initstdio: No attribute ... on TextIO [attribute-error]
17 mercurial/exchange.py # [attribute-error]
17 mercurial/exchange.py # [attribute-error]
18 mercurial/hgweb/hgweb_mod.py # [attribute-error], [name-error], [wrong-arg-types]
18 mercurial/hgweb/hgweb_mod.py # [attribute-error], [name-error], [wrong-arg-types]
19 mercurial/hgweb/server.py # [attribute-error], [name-error], [module-attr]
19 mercurial/hgweb/server.py # [attribute-error], [name-error], [module-attr]
20 mercurial/hgweb/wsgicgi.py # confused values in os.environ
20 mercurial/hgweb/wsgicgi.py # confused values in os.environ
21 mercurial/httppeer.py # [attribute-error], [wrong-arg-types]
21 mercurial/httppeer.py # [attribute-error], [wrong-arg-types]
22 mercurial/interfaces # No attribute 'capabilities' on peer [attribute-error]
22 mercurial/interfaces # No attribute 'capabilities' on peer [attribute-error]
23 mercurial/keepalive.py # [attribute-error]
23 mercurial/keepalive.py # [attribute-error]
24 mercurial/localrepo.py # [attribute-error]
24 mercurial/localrepo.py # [attribute-error]
25 mercurial/manifest.py # [unsupported-operands], [wrong-arg-types]
25 mercurial/manifest.py # [unsupported-operands], [wrong-arg-types]
26 mercurial/minirst.py # [unsupported-operands], [attribute-error]
26 mercurial/minirst.py # [unsupported-operands], [attribute-error]
27 mercurial/pure/osutil.py # [invalid-typevar], [not-callable]
27 mercurial/pure/osutil.py # [invalid-typevar], [not-callable]
28 mercurial/pure/parsers.py # [attribute-error]
28 mercurial/pure/parsers.py # [attribute-error]
29 mercurial/repoview.py # [attribute-error]
29 mercurial/repoview.py # [attribute-error]
30 mercurial/testing/storage.py # tons of [attribute-error]
30 mercurial/testing/storage.py # tons of [attribute-error]
31 mercurial/ui.py # [attribute-error], [wrong-arg-types]
31 mercurial/ui.py # [attribute-error], [wrong-arg-types]
32 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error]
32 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error]
33 mercurial/utils/memorytop.py # not 3.6 compatible
34 mercurial/win32.py # [not-callable]
33 mercurial/win32.py # [not-callable]
35 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
34 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
36 mercurial/wireprotov1peer.py # [attribute-error]
35 mercurial/wireprotov1peer.py # [attribute-error]
37 mercurial/wireprotov1server.py # BUG?: BundleValueError handler accesses subclass's attrs
36 mercurial/wireprotov1server.py # BUG?: BundleValueError handler accesses subclass's attrs
38
37
39 TODO: use --no-cache on test server? Caching the files locally helps during
38 TODO: use --no-cache on test server? Caching the files locally helps during
40 development, but may be a hinderance for CI testing.
39 development, but may be a hinderance for CI testing.
41
40
42 $ pytype -V 3.6 --keep-going --jobs auto mercurial \
41 $ pytype -V 3.7 --keep-going --jobs auto mercurial \
43 > -x mercurial/bundlerepo.py \
42 > -x mercurial/bundlerepo.py \
44 > -x mercurial/context.py \
43 > -x mercurial/context.py \
45 > -x mercurial/crecord.py \
44 > -x mercurial/crecord.py \
46 > -x mercurial/debugcommands.py \
45 > -x mercurial/debugcommands.py \
47 > -x mercurial/dispatch.py \
46 > -x mercurial/dispatch.py \
48 > -x mercurial/exchange.py \
47 > -x mercurial/exchange.py \
49 > -x mercurial/hgweb/hgweb_mod.py \
48 > -x mercurial/hgweb/hgweb_mod.py \
50 > -x mercurial/hgweb/server.py \
49 > -x mercurial/hgweb/server.py \
51 > -x mercurial/hgweb/wsgicgi.py \
50 > -x mercurial/hgweb/wsgicgi.py \
52 > -x mercurial/httppeer.py \
51 > -x mercurial/httppeer.py \
53 > -x mercurial/interfaces \
52 > -x mercurial/interfaces \
54 > -x mercurial/keepalive.py \
53 > -x mercurial/keepalive.py \
55 > -x mercurial/localrepo.py \
54 > -x mercurial/localrepo.py \
56 > -x mercurial/manifest.py \
55 > -x mercurial/manifest.py \
57 > -x mercurial/minirst.py \
56 > -x mercurial/minirst.py \
58 > -x mercurial/pure/osutil.py \
57 > -x mercurial/pure/osutil.py \
59 > -x mercurial/pure/parsers.py \
58 > -x mercurial/pure/parsers.py \
60 > -x mercurial/repoview.py \
59 > -x mercurial/repoview.py \
61 > -x mercurial/testing/storage.py \
60 > -x mercurial/testing/storage.py \
62 > -x mercurial/thirdparty \
61 > -x mercurial/thirdparty \
63 > -x mercurial/ui.py \
62 > -x mercurial/ui.py \
64 > -x mercurial/unionrepo.py \
63 > -x mercurial/unionrepo.py \
65 > -x mercurial/utils/memorytop.py \
66 > -x mercurial/win32.py \
64 > -x mercurial/win32.py \
67 > -x mercurial/wireprotoframing.py \
65 > -x mercurial/wireprotoframing.py \
68 > -x mercurial/wireprotov1peer.py \
66 > -x mercurial/wireprotov1peer.py \
69 > -x mercurial/wireprotov1server.py \
67 > -x mercurial/wireprotov1server.py \
70 > > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt
68 > > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt
71
69
72 Only show the results on a failure, because the output on success is also
70 Only show the results on a failure, because the output on success is also
73 voluminous and variable.
71 voluminous and variable.
General Comments 0
You need to be logged in to leave comments. Login now