##// END OF EJS Templates
pytype: stop excluding ssutil.py...
Matt Harbison -
r49322:08af0adc default
parent child Browse files
Show More
@@ -139,12 +139,18 b' def _hostsettings(ui, hostname):'
139 139
140 140 alg, fingerprint = fingerprint.split(b':', 1)
141 141 fingerprint = fingerprint.replace(b':', b'').lower()
142 # pytype: disable=attribute-error
143 # `s` is heterogeneous, but this entry is always a list of tuples
142 144 s[b'certfingerprints'].append((alg, fingerprint))
145 # pytype: enable=attribute-error
143 146
144 147 # Fingerprints from [hostfingerprints] are always SHA-1.
145 148 for fingerprint in ui.configlist(b'hostfingerprints', bhostname):
146 149 fingerprint = fingerprint.replace(b':', b'').lower()
150 # pytype: disable=attribute-error
151 # `s` is heterogeneous, but this entry is always a list of tuples
147 152 s[b'certfingerprints'].append((b'sha1', fingerprint))
153 # pytype: enable=attribute-error
148 154 s[b'legacyfingerprint'] = True
149 155
150 156 # If a host cert fingerprint is defined, it is the only thing that
@@ -27,7 +27,6 b' mercurial/minirst.py # [unsuppo'
27 27 mercurial/pure/osutil.py # [invalid-typevar], [not-callable]
28 28 mercurial/pure/parsers.py # [attribute-error]
29 29 mercurial/repoview.py # [attribute-error]
30 mercurial/sslutil.py # [attribute-error]
31 30 mercurial/testing/storage.py # tons of [attribute-error]
32 31 mercurial/ui.py # [attribute-error], [wrong-arg-types]
33 32 mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error]
@@ -59,7 +58,6 b' development, but may be a hinderance for'
59 58 > -x mercurial/pure/osutil.py \
60 59 > -x mercurial/pure/parsers.py \
61 60 > -x mercurial/repoview.py \
62 > -x mercurial/sslutil.py \
63 61 > -x mercurial/testing/storage.py \
64 62 > -x mercurial/thirdparty \
65 63 > -x mercurial/ui.py \
General Comments 0
You need to be logged in to leave comments. Login now