]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
updates for mypy 1.4
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Jun 2023 19:24:38 +0000 (15:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Jun 2023 15:46:09 +0000 (11:46 -0400)
commitb39af62d10f7244f99635619ddb29a45359ace92
tree9d42b41379ba45818aad83a030814d2cfbfa5fbb
parent8e465ce2788a726c614c060c11ae77b05d0b99af
updates for mypy 1.4

mypy 1.4 is reporting new style types list[], tuple[], etc.
as well as "x | None" for optional.

they also added one argument for format_type().

This is for 1.4 backport as well

Change-Id: I68084199858e9da901641d6036780437bcf5f2d6
(cherry picked from commit f79d09221b1ec6cd6bc8d83d6e947db5f75c6d1c)
doc/build/changelog/unreleased_14/mypy14.rst [new file with mode: 0644]
lib/sqlalchemy/ext/mypy/infer.py
lib/sqlalchemy/ext/mypy/util.py
test/ext/mypy/test_mypy_plugin_py3k.py