mirror of https://github.com/commaai/openpilot.git
[bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks
* remove that
---------
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: be4bbca9a3
This commit is contained in:
parent
79209662d6
commit
c925fd2d89
|
@ -44,7 +44,7 @@ repos:
|
|||
- --explicit-package-bases
|
||||
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)|(xx/)'
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.2.1
|
||||
rev: v0.2.2
|
||||
hooks:
|
||||
- id: ruff
|
||||
exclude: '^(third_party/)|(cereal/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bdc76c62d91d11b1b8b394feff60187338098679aaa23aaa1517306fea75bcff
|
||||
size 593074
|
||||
oid sha256:5184569ecef76d8e5b3bfea8243b02e3f54d7cee454fc996e76f7399231f7b30
|
||||
size 593063
|
||||
|
|
|
@ -20,7 +20,7 @@ class StreamingDecompressor:
|
|||
def __init__(self, url: str) -> None:
|
||||
self.buf = b""
|
||||
|
||||
self.req = requests.get(url, stream=True, headers={'Accept-Encoding': None}, timeout=60) # type: ignore
|
||||
self.req = requests.get(url, stream=True, headers={'Accept-Encoding': None}, timeout=60)
|
||||
self.it = self.req.iter_content(chunk_size=1024 * 1024)
|
||||
self.decompressor = lzma.LZMADecompressor(format=lzma.FORMAT_AUTO)
|
||||
self.eof = False
|
||||
|
|
Loading…
Reference in New Issue