]> 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:44:18 +0000 (11:44 -0400)
commitf79d09221b1ec6cd6bc8d83d6e947db5f75c6d1c
treebcdc12907d629a9f75c48a6d18bff6a0e7fb287b
parent66cec8cd401a605dfbd8bb64fa7c8997ca072294
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
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