Skip to content

Commit

Permalink
Merge branch 'develop' into update-ruby-2025-03
Browse files Browse the repository at this point in the history
  • Loading branch information
valerena authored Mar 5, 2025
2 parents a719e99 + b45721e commit d18d0f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest-cov==5.0.0; python_version<"3.9"
# type checking and related stubs
# mypy adds new rules in new minor versions, which could cause our PR check to fail
# here we fix its version and upgrade it manually in the future
mypy==1.14.1
mypy==1.15.0
types-pywin32==308.0.0.20250128; python_version>="3.9"
types-pywin32==308.0.0.20241221; python_version<"3.9"
types-PyYAML==6.0.12.20241230
Expand Down
2 changes: 1 addition & 1 deletion requirements/pre-dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruff==0.9.7
ruff==0.9.8
4 changes: 2 additions & 2 deletions samcli/lib/utils/tar.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from contextlib import contextmanager
from pathlib import Path
from tempfile import TemporaryFile
from typing import IO, Callable, Dict, List, Optional, Union
from typing import IO, Callable, Dict, List, Literal, Optional, Union

LOG = logging.getLogger(__name__)

Expand All @@ -17,7 +17,7 @@
def create_tarball(
tar_paths: Dict[Union[str, Path], str],
tar_filter: Optional[Callable[[tarfile.TarInfo], Union[None, tarfile.TarInfo]]] = None,
mode: str = "w",
mode: Literal["x", "x:", "a", "a:", "w", "w:", "w:tar"] = "w",
dereference: bool = False,
):
"""
Expand Down

0 comments on commit d18d0f4

Please sign in to comment.