##// END OF EJS Templates
pytype: stop excluding lsprof.py...
Matt Harbison -
r49305:abac7983 default
parent child Browse files
Show More
@@ -1,100 +1,98
1 1 #require pytype py3 slow
2 2
3 3 $ cd $RUNTESTDIR/..
4 4
5 5 Many of the individual files that are excluded here confuse pytype
6 6 because they do a mix of Python 2 and Python 3 things
7 7 conditionally. There's no good way to help it out with that as far as
8 8 I can tell, so let's just hide those files from it for now. We should
9 9 endeavor to empty this list out over time, as some of these are
10 10 probably hiding real problems.
11 11
12 12 mercurial/bundlerepo.py # no vfs and ui attrs on bundlerepo
13 13 mercurial/chgserver.py # [attribute-error]
14 14 mercurial/cmdutil.py # No attribute 'markcopied' on mercurial.context.filectx [attribute-error]
15 15 mercurial/context.py # many [attribute-error]
16 16 mercurial/copies.py # No attribute 'items' on None [attribute-error]
17 17 mercurial/crecord.py # tons of [attribute-error], [module-attr]
18 18 mercurial/debugcommands.py # [wrong-arg-types]
19 19 mercurial/dispatch.py # initstdio: No attribute ... on TextIO [attribute-error]
20 20 mercurial/exchange.py # [attribute-error]
21 21 mercurial/hgweb/hgweb_mod.py # [attribute-error], [name-error], [wrong-arg-types]
22 22 mercurial/hgweb/server.py # [attribute-error], [name-error], [module-attr]
23 23 mercurial/hgweb/webcommands.py # [missing-parameter]
24 24 mercurial/hgweb/wsgicgi.py # confused values in os.environ
25 25 mercurial/httppeer.py # [attribute-error], [wrong-arg-types]
26 26 mercurial/interfaces # No attribute 'capabilities' on peer [attribute-error]
27 27 mercurial/keepalive.py # [attribute-error]
28 28 mercurial/localrepo.py # [attribute-error]
29 mercurial/lsprof.py # unguarded import
30 29 mercurial/manifest.py # [unsupported-operands], [wrong-arg-types]
31 30 mercurial/minirst.py # [unsupported-operands], [attribute-error]
32 31 mercurial/patch.py # [wrong-arg-types]
33 32 mercurial/pure/osutil.py # [invalid-typevar], [not-callable]
34 33 mercurial/pure/parsers.py # [attribute-error]
35 34 mercurial/pycompat.py # bytes vs str issues
36 35 mercurial/repoview.py # [attribute-error]
37 36 mercurial/sslutil.py # [attribute-error]
38 37 mercurial/statprof.py # bytes vs str on TextIO.write() [wrong-arg-types]
39 38 mercurial/testing/storage.py # tons of [attribute-error]
40 39 mercurial/ui.py # [attribute-error], [wrong-arg-types]
41 40 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error]
42 41 mercurial/util.py # [attribute-error], [wrong-arg-count]
43 42 mercurial/utils/procutil.py # [attribute-error], [module-attr], [bad-return-type]
44 43 mercurial/utils/stringutil.py # [module-attr], [wrong-arg-count]
45 44 mercurial/utils/memorytop.py # not 3.6 compatible
46 45 mercurial/win32.py # [not-callable]
47 46 mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error]
48 47 mercurial/wireprotoserver.py # line 253, in _availableapis: No attribute '__iter__' on Callable[[Any, Any], Any] [attribute-error]
49 48 mercurial/wireprotov1peer.py # [attribute-error]
50 49 mercurial/wireprotov1server.py # BUG?: BundleValueError handler accesses subclass's attrs
51 50 mercurial/wireprotov2server.py # [unsupported-operands], [attribute-error]
52 51
53 52 TODO: use --no-cache on test server? Caching the files locally helps during
54 53 development, but may be a hinderance for CI testing.
55 54
56 55 $ pytype -V 3.6 --keep-going --jobs auto mercurial \
57 56 > -x mercurial/bundlerepo.py \
58 57 > -x mercurial/chgserver.py \
59 58 > -x mercurial/cmdutil.py \
60 59 > -x mercurial/context.py \
61 60 > -x mercurial/copies.py \
62 61 > -x mercurial/crecord.py \
63 62 > -x mercurial/debugcommands.py \
64 63 > -x mercurial/dispatch.py \
65 64 > -x mercurial/exchange.py \
66 65 > -x mercurial/hgweb/hgweb_mod.py \
67 66 > -x mercurial/hgweb/server.py \
68 67 > -x mercurial/hgweb/webcommands.py \
69 68 > -x mercurial/hgweb/wsgicgi.py \
70 69 > -x mercurial/httppeer.py \
71 70 > -x mercurial/interfaces \
72 71 > -x mercurial/keepalive.py \
73 72 > -x mercurial/localrepo.py \
74 > -x mercurial/lsprof.py \
75 73 > -x mercurial/manifest.py \
76 74 > -x mercurial/minirst.py \
77 75 > -x mercurial/patch.py \
78 76 > -x mercurial/pure/osutil.py \
79 77 > -x mercurial/pure/parsers.py \
80 78 > -x mercurial/pycompat.py \
81 79 > -x mercurial/repoview.py \
82 80 > -x mercurial/sslutil.py \
83 81 > -x mercurial/statprof.py \
84 82 > -x mercurial/testing/storage.py \
85 83 > -x mercurial/thirdparty \
86 84 > -x mercurial/ui.py \
87 85 > -x mercurial/unionrepo.py \
88 86 > -x mercurial/utils/procutil.py \
89 87 > -x mercurial/utils/stringutil.py \
90 88 > -x mercurial/utils/memorytop.py \
91 89 > -x mercurial/win32.py \
92 90 > -x mercurial/wireprotoframing.py \
93 91 > -x mercurial/wireprotoserver.py \
94 92 > -x mercurial/wireprotov1peer.py \
95 93 > -x mercurial/wireprotov1server.py \
96 94 > -x mercurial/wireprotov2server.py \
97 95 > > $TESTTMP/pytype-output.txt || cat $TESTTMP/pytype-output.txt
98 96
99 97 Only show the results on a failure, because the output on success is also
100 98 voluminous and variable.
General Comments 0
You need to be logged in to leave comments. Login now