⬆ Bump mypy from 1.4.1 to 1.18.2 (#1560)

* ⬆ Bump mypy from 1.4.1 to 1.18.1

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.18.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* restrict to latest version that supports python 3.8

* remove unnecssary ignore statement

* add ignore statement

* make ignore statement more specific

* expand on mypy command to debug CI failure

* experiment with from future import

* use the latest mypy for Python 3.9 and up

* fix type of keys to be removed

* annotate origin as Any to avoid type issues

* bump to 1.10.0 only for now

* exclude one particular file from mypy processing

* Try to bump to 1.18.2 again

* attempt to remove the future import again

* add back future import

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
This commit is contained in:
dependabot[bot]
2025-10-08 13:10:30 +02:00
committed by GitHub
parent 2d3b25dd24
commit f751e1c797
4 changed files with 10 additions and 9 deletions
+1 -4
View File
@@ -98,10 +98,7 @@ show_contexts = true
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "sqlmodel.sql._expression_select_gen"
warn_unused_ignores = false
exclude = "sqlmodel.sql._expression_select_gen"
[[tool.mypy.overrides]]
module = "docs_src.*"