mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
build(deps): bump mypy from 1.15.0 to 1.16.1 (#10781)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -167,7 +167,7 @@ class Repo:
|
|||||||
self._config = config
|
self._config = config
|
||||||
self._remote = remote
|
self._remote = remote
|
||||||
self._remote_config = remote_config
|
self._remote_config = remote_config
|
||||||
self._data_index = None
|
self._data_index: Optional[DataIndex] = None
|
||||||
self._wait_for_lock = _wait_for_lock
|
self._wait_for_lock = _wait_for_lock
|
||||||
|
|
||||||
if rev and not fs:
|
if rev and not fs:
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ class CloudURLInfo(URLInfo):
|
|||||||
|
|
||||||
|
|
||||||
class HTTPURLInfo(URLInfo):
|
class HTTPURLInfo(URLInfo):
|
||||||
__hash__: Callable[["HTTPURLInfo"], int] = URLInfo.__hash__
|
__hash__: Callable[["HTTPURLInfo"], int] = URLInfo.__hash__ # type: ignore[assignment]
|
||||||
|
|
||||||
def __init__(self, url):
|
def __init__(self, url):
|
||||||
p = urlparse(url)
|
p = urlparse(url)
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ def apply_overrides(path: "StrPath", overrides: list[str]) -> None:
|
|||||||
except hydra_errors as e:
|
except hydra_errors as e:
|
||||||
raise InvalidArgumentError("Invalid `--set-param` value") from e
|
raise InvalidArgumentError("Invalid `--set-param` value") from e
|
||||||
|
|
||||||
|
assert isinstance(new_data, dict)
|
||||||
merge_dicts(original_data, new_data)
|
merge_dicts(original_data, new_data)
|
||||||
remove_missing_keys(original_data, new_data)
|
remove_missing_keys(original_data, new_data)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -85,7 +85,7 @@ gdrive = ["dvc-gdrive>=3,<4"]
|
|||||||
gs = ["dvc-gs>=3.0.2,<4"]
|
gs = ["dvc-gs>=3.0.2,<4"]
|
||||||
hdfs = ["dvc-hdfs>=3,<4"]
|
hdfs = ["dvc-hdfs>=3,<4"]
|
||||||
lint = [
|
lint = [
|
||||||
"mypy==1.15.0",
|
"mypy==1.16.1",
|
||||||
"pandas-stubs",
|
"pandas-stubs",
|
||||||
"types-colorama",
|
"types-colorama",
|
||||||
"types-psutil",
|
"types-psutil",
|
||||||
|
|||||||
Reference in New Issue
Block a user