Skip to content

Commit

Permalink
Bump mypy from 1.13.0 to 1.14.0 (#854)
Browse files Browse the repository at this point in the history
* Bump mypy from 1.13.0 to 1.14.0

Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ignore double fabric imports

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <[email protected]>
  • Loading branch information
dependabot[bot] and shcheklein authored Dec 23, 2024
1 parent cc1003b commit 4b9c726
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tests = [
]
dev = [
"dvclive[all,tests]",
"mypy==1.13.0",
"mypy==1.14.0",
"types-PyYAML"
]
mmcv = ["mmcv"]
Expand Down
2 changes: 1 addition & 1 deletion src/dvclive/fabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)
from lightning.fabric.utilities.rank_zero import rank_zero_only
except ImportError:
from lightning_fabric.loggers.logger import Logger, rank_zero_experiment
from lightning_fabric.loggers.logger import Logger, rank_zero_experiment # type: ignore[assignment]
from lightning_fabric.utilities.logger import (
_add_prefix,
_convert_params,
Expand Down
2 changes: 1 addition & 1 deletion src/dvclive/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from lightning.pytorch.utilities import rank_zero_only
except ImportError:
from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoint # type: ignore[assignment]
from pytorch_lightning.loggers.logger import Logger
from pytorch_lightning.loggers.logger import Logger # type: ignore[assignment]
from pytorch_lightning.utilities import rank_zero_only

try:
Expand Down

0 comments on commit 4b9c726

Please sign in to comment.