Skip to content

Commit

Permalink
Bump mypy from 0.910 to 0.920 in /components/server (#3055)
Browse files Browse the repository at this point in the history
* Bump mypy from 0.910 to 0.920 in /components/server

Bumps [mypy](https://github.com/python/mypy) from 0.910 to 0.920.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.910...v0.920)

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

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

* Turn off Pydantic Mypy plugin; it fails with Mypy 0.920.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Frank Niessink <[email protected]>
  • Loading branch information
dependabot[bot] and fniessink authored Dec 16, 2021
1 parent b5f91dc commit 32d36f8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
47 changes: 22 additions & 25 deletions components/server/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,30 +260,27 @@ msgpack==1.0.3 \
--hash=sha256:f201d34dc89342fabb2a10ed7c9a9aaaed9b7af0f16a5923f1ae562b31258dea \
--hash=sha256:f74da1e5fcf20ade12c6bf1baa17a2dc3604958922de8dc83cbe3eff22e8b611
# via cachecontrol
mypy==0.910 \
--hash=sha256:088cd9c7904b4ad80bec811053272986611b84221835e079be5bcad029e79dd9 \
--hash=sha256:0aadfb2d3935988ec3815952e44058a3100499f5be5b28c34ac9d79f002a4a9a \
--hash=sha256:119bed3832d961f3a880787bf621634ba042cb8dc850a7429f643508eeac97b9 \
--hash=sha256:1a85e280d4d217150ce8cb1a6dddffd14e753a4e0c3cf90baabb32cefa41b59e \
--hash=sha256:3c4b8ca36877fc75339253721f69603a9c7fdb5d4d5a95a1a1b899d8b86a4de2 \
--hash=sha256:3e382b29f8e0ccf19a2df2b29a167591245df90c0b5a2542249873b5c1d78212 \
--hash=sha256:42c266ced41b65ed40a282c575705325fa7991af370036d3f134518336636f5b \
--hash=sha256:53fd2eb27a8ee2892614370896956af2ff61254c275aaee4c230ae771cadd885 \
--hash=sha256:704098302473cb31a218f1775a873b376b30b4c18229421e9e9dc8916fd16150 \
--hash=sha256:7df1ead20c81371ccd6091fa3e2878559b5c4d4caadaf1a484cf88d93ca06703 \
--hash=sha256:866c41f28cee548475f146aa4d39a51cf3b6a84246969f3759cb3e9c742fc072 \
--hash=sha256:a155d80ea6cee511a3694b108c4494a39f42de11ee4e61e72bc424c490e46457 \
--hash=sha256:adaeee09bfde366d2c13fe6093a7df5df83c9a2ba98638c7d76b010694db760e \
--hash=sha256:b6fb13123aeef4a3abbcfd7e71773ff3ff1526a7d3dc538f3929a49b42be03f0 \
--hash=sha256:b94e4b785e304a04ea0828759172a15add27088520dc7e49ceade7834275bedb \
--hash=sha256:c0df2d30ed496a08de5daed2a9ea807d07c21ae0ab23acf541ab88c24b26ab97 \
--hash=sha256:c6c2602dffb74867498f86e6129fd52a2770c48b7cd3ece77ada4fa38f94eba8 \
--hash=sha256:ceb6e0a6e27fb364fb3853389607cf7eb3a126ad335790fa1e14ed02fba50811 \
--hash=sha256:d9dd839eb0dc1bbe866a288ba3c1afc33a202015d2ad83b31e875b5905a079b6 \
--hash=sha256:e4dab234478e3bd3ce83bac4193b2ecd9cf94e720ddd95ce69840273bf44f6de \
--hash=sha256:ec4e0cd079db280b6bdabdc807047ff3e199f334050db5cbb91ba3e959a67504 \
--hash=sha256:ecd2c3fe726758037234c93df7e98deb257fd15c24c9180dacf1ef829da5f921 \
--hash=sha256:ef565033fa5a958e62796867b1df10c40263ea9ded87164d67572834e57a174d
mypy==0.920 \
--hash=sha256:13b3c110309b53f5a62aa1b360f598124be33a42563b790a2a9efaacac99f1fc \
--hash=sha256:140174e872d20d4768124a089b9f9fc83abd6a349b7f8cc6276bc344eb598922 \
--hash=sha256:31895b0b3060baf15bf76e789d94722c026f673b34b774bba9e8772295edccff \
--hash=sha256:331a81d2c9bf1be25317260a073b41f4584cd11701a7c14facef0aa5a005e843 \
--hash=sha256:40cb062f1b7ff4cd6e897a89d8ddc48c6ad7f326b5277c93a8c559564cc1551c \
--hash=sha256:41f3575b20714171c832d8f6c7aaaa0d499c9a2d1b8adaaf837b4c9065c38540 \
--hash=sha256:431be889ffc8d9681813a45575c42e341c19467cbfa6dd09bf41467631feb530 \
--hash=sha256:562a0e335222d5bbf5162b554c3afe3745b495d67c7fe6f8b0d1b5bace0c1eeb \
--hash=sha256:618e677aabd21f30670bffb39a885a967337f5b112c6fb7c79375e6dced605d6 \
--hash=sha256:69b5a835b12fdbfeed84ef31152d41343d32ccb2b345256d8682324409164330 \
--hash=sha256:71c77bd885d2ce44900731d4652d0d1c174dc66a0f11200e0c680bdedf1a6b37 \
--hash=sha256:82e6c15675264e923b60a11d6eb8f90665504352e68edfbb4a79aac7a04caddd \
--hash=sha256:98b4f91a75fed2e4c6339e9047aba95968d3a7c4b91e92ab9dc62c0c583564f4 \
--hash=sha256:993c2e52ea9570e6e872296c046c946377b9f5e89eeb7afea2a1524cf6e50b27 \
--hash=sha256:9cd316e9705555ca6a50670ba5fb0084d756d1d8cb1697c83820b1456b0bc5f3 \
--hash=sha256:a55438627f5f546192f13255a994d6d1cf2659df48adcf966132b4379fd9c86b \
--hash=sha256:df0fec878ccfcb2d1d2306ba31aa757848f681e7bbed443318d9bbd4b0d0fe9a \
--hash=sha256:e091fe58b4475b3504dc7c3022ff7f4af2f9e9ddf7182047111759ed0973bbde \
--hash=sha256:f8b2059f73878e92eff7ed11a03515d6572f4338a882dd7547b5f7dd242118e6 \
--hash=sha256:ffb1e57ec49a30e3c0ebcfdc910ae4aceb7afb649310b7355509df6b15bd75f6
# via -r ../../requirements-dev.in
mypy-extensions==0.4.3 \
--hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \
Expand Down Expand Up @@ -452,14 +449,14 @@ toml==0.10.2 \
# via
# cyclonedx-python-lib
# dparse
# mypy
# pylint
# vulture
tomli==1.2.2 \
--hash=sha256:c6ce0015eb38820eaf32b5db832dbc26deb3dd427bd5f6556cf0acac2c214fee \
--hash=sha256:f04066f68f5554911363063a30b108d2b5a5b1a010aa8b6132af78489fe3aade
# via
# black
# mypy
# pep517
types-cryptography==3.3.9 \
--hash=sha256:2127dda3016ba9a6e518a76dec46a009a7da112ace79fc6b590fd028fa24db6b \
Expand Down
4 changes: 3 additions & 1 deletion components/server/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ multi_line_output = 4
src_paths = src

[mypy]
plugins = pydantic.mypy
# The pydantic.mypy plugin fails since mypy 0.920 with this mypy error message:
# setup.cfg:8: error: Error importing plugin "pydantic.mypy": cannot import name 'TypeVarDef' from 'mypy.types' (/.../quality-time/components/server/venv/lib/python3.10/site-packages/mypy/types.cpython-310-darwin.so)
# plugins = pydantic.mypy
html_report = build/mypy
ignore_missing_imports = false
incremental = false
Expand Down

0 comments on commit 32d36f8

Please sign in to comment.