]> git.ipfire.org Git - thirdparty/psycopg.git/commit
chore: bump mypy to 1.4.1
authorDenis Laxalde <denis.laxalde@dalibo.com>
Wed, 12 Jul 2023 06:39:51 +0000 (08:39 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 21 Jul 2023 00:00:01 +0000 (01:00 +0100)
commit70e2ff4d67bac0f9ccbea41da81b9bb81d9f0f9f
treeda112b6bddc39b2083a9d6bdc25a877274753889
parent2ca04b77dbe1ea50a422fcefeda22fa756be754c
chore: bump mypy to 1.4.1

The issue previously mentioned about '# type: ignore[arg-type]' in
rows.py got resolved.

The new '# type: ignore[comparison-overlap]' in test_pipeline*.py are
due to https://github.com/python/mypy/issues/15509, a known regression
from Mypy 1.4. We use the workaround documented in the release blog post
https://mypy-lang.blogspot.com/2023/06/mypy-140-released.html (section
"Narrowing Enum Values Using “==”").
psycopg/psycopg/rows.py
psycopg/setup.cfg
tests/constraints.txt
tests/test_pipeline.py
tests/test_pipeline_async.py