You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, according to the docs, mode=w|gz and compresslevel=6 should be supported:
For modes 'w:gz', 'x:gz', 'w|gz', 'w:bz2', 'x:bz2', 'w|bz2', tarfile.open() accepts the keyword argument compresslevel (default 9) to specify the compression level of the file.
Python version: 3.12.5
Mypy version: 1.14.1
The text was updated successfully, but these errors were encountered:
Checking the snippet
with mypy produces an error:
The type hints allow the
compresslevel
argument in these twooverload
variants:However, according to the docs,
mode=w|gz
andcompresslevel=6
should be supported:Python version: 3.12.5
Mypy version: 1.14.1
The text was updated successfully, but these errors were encountered: