Skip to content

Commit

Permalink
chore(deps): update dependency mypy to v1.12.1 (#460)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mypy](https://www.mypy-lang.org/)
([source](https://redirect.github.com/python/mypy),
[changelog](https://mypy-lang.blogspot.com/)) | `==1.11.0` -> `==1.12.1`
|
[![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.11.0/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.11.0/1.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>python/mypy (mypy)</summary>

###
[`v1.12.1`](https://redirect.github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1121)

[Compare
Source](https://redirect.github.com/python/mypy/compare/v1.12.0...v1.12.1)

- Fix crash when showing partially analyzed type in error message (Ivan
Levkivskyi, PR
[17961](https://redirect.github.com/python/mypy/pull/17961))
- Fix iteration over union (when self type is involved) (Shantanu, PR
[17976](https://redirect.github.com/python/mypy/pull/17976))
- Fix type object with type var default in union context (Jukka
Lehtosalo, PR
[17991](https://redirect.github.com/python/mypy/pull/17991))
- Revert change to `os.path` stubs affecting use of `os.PathLike[Any]`
(Shantanu, PR
[17995](https://redirect.github.com/python/mypy/pull/17995))

###
[`v1.12.0`](https://redirect.github.com/python/mypy/compare/v1.11.2...v1.12.0)

[Compare
Source](https://redirect.github.com/python/mypy/compare/v1.11.2...v1.12.0)

###
[`v1.11.2`](https://redirect.github.com/python/mypy/compare/v1.11.1...v1.11.2)

[Compare
Source](https://redirect.github.com/python/mypy/compare/v1.11.1...v1.11.2)

###
[`v1.11.1`](https://redirect.github.com/python/mypy/compare/v1.11.0...v1.11.1)

[Compare
Source](https://redirect.github.com/python/mypy/compare/v1.11.0...v1.11.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/iterative/gto).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <[email protected]>
  • Loading branch information
renovate[bot] and shcheklein authored Oct 20, 2024
1 parent 055376c commit 4c3f6c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gto/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,11 +474,11 @@ def get_latest_version(

def get_vstages(
self,
registered_only=False,
assignments_per_version=ASSIGNMENTS_PER_VERSION,
versions_per_stage=VERSIONS_PER_STAGE,
sort=VersionSort.SemVer,
):
registered_only: bool = False,
assignments_per_version: int = ASSIGNMENTS_PER_VERSION,
versions_per_stage: int = VERSIONS_PER_STAGE,
sort: VersionSort = VersionSort.SemVer,
) -> Dict[str, List[VStage]]:
if assignments_per_version < -1:
raise WrongArgs("'assignments_per_version' must be >= -1")
if versions_per_stage < -1:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tests = [
]
dev = [
"gto[tests]",
"mypy==1.11.0",
"mypy==1.12.1",
"pylint==3.3.1",
"types-PyYAML",
"types-filelock",
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def isolate(tmp_path_factory: pytest.TempPathFactory) -> Iterator[None]:
[email protected]
"""
(home_dir / ".gitconfig").write_bytes(contents)
pygit2.settings.search_path[pygit2.GIT_CONFIG_LEVEL_GLOBAL] = str(home_dir)
pygit2.settings.search_path[pygit2.GIT_CONFIG_LEVEL_GLOBAL] = str(home_dir) # type: ignore[attr-defined]

yield
monkeypatch.undo()
Expand Down

0 comments on commit 4c3f6c7

Please sign in to comment.