update pylint (#28395)
* update pylint
* update config
* fix
old-commit-hash: e276d2a417
This commit is contained in:
parent
78268323cd
commit
91a47d61c5
|
@ -3,7 +3,7 @@
|
|||
# A comma-separated list of package or module names from where C extensions may
|
||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
||||
# run arbitrary code
|
||||
extension-pkg-whitelist=scipy,cereal.messaging.messaging_pyx,PyQt5,av
|
||||
extension-pkg-whitelist=scipy,cereal.messaging.messaging_pyx,PyQt5,av,pycurl
|
||||
|
||||
# Add files or directories to the blacklist. They should be base names, not
|
||||
# paths.
|
||||
|
@ -466,4 +466,4 @@ check-str-concat-over-line-jumps=yes
|
|||
|
||||
# Exceptions that will emit a warning when being caught. Defaults to
|
||||
# "Exception"
|
||||
overgeneral-exceptions=Exception
|
||||
overgeneral-exceptions=
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb48f48023b4392f9c94321829a88824908623c6a1ca7443e5534ed845e1093e
|
||||
size 638741
|
||||
oid sha256:1661562b0d58e4808faa23d86c5a0b3d174cf9d49511ed35dc1dc502def0865a
|
||||
size 638789
|
||||
|
|
|
@ -117,11 +117,11 @@ def download_and_inject_assistance():
|
|||
# download assistance
|
||||
try:
|
||||
c = pycurl.Curl()
|
||||
c.setopt(c.URL, assistance_url)
|
||||
c.setopt(c.NOBODY, 1)
|
||||
c.setopt(pycurl.URL, assistance_url)
|
||||
c.setopt(pycurl.NOBODY, 1)
|
||||
c.setopt(pycurl.CONNECTTIMEOUT, 2)
|
||||
c.perform()
|
||||
bytes_n = c.getinfo(c.CONTENT_LENGTH_DOWNLOAD)
|
||||
bytes_n = c.getinfo(pycurl.CONTENT_LENGTH_DOWNLOAD)
|
||||
c.close()
|
||||
if bytes_n > 1e5:
|
||||
cloudlog.error("Qcom assistance data larger than expected")
|
||||
|
|
Loading…
Reference in New Issue