diff --git a/requirements-tests.txt b/requirements-tests.txt index 77955cf7d..72433f076 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -5,7 +5,7 @@ flake8-bugbear==23.3.23; python_version >= "3.8" # must match .pre-commit-confi flake8-noqa==1.3.1; python_version >= "3.8" # must match .pre-commit-config.yaml flake8-pyi==23.5.0; python_version >= "3.8" # must match .pre-commit-config.yaml isort==5.12.0; python_version >= "3.8" # must match .pre-commit-config.yaml -mypy==1.2.0 +mypy==1.3.0 packaging==23.1 pathspec>=0.10.3 pre-commit-hooks==4.4.0 # must match .pre-commit-config.yaml diff --git a/stubs/dj-database-url/@tests/stubtest_allowlist.txt b/stubs/dj-database-url/@tests/stubtest_allowlist.txt index 8f296002b..9a3c06c24 100644 --- a/stubs/dj-database-url/@tests/stubtest_allowlist.txt +++ b/stubs/dj-database-url/@tests/stubtest_allowlist.txt @@ -1,6 +1,2 @@ # Loop variable that leaks into the global namespace dj_database_url.key - -# Many stubtest false positives for a runtime TypedDict, see https://github.com/python/mypy/issues/14983 -dj_database_url.DBConfig -dj_database_url.DBConfig.__new__ diff --git a/stubs/redis/@tests/stubtest_allowlist.txt b/stubs/redis/@tests/stubtest_allowlist.txt index abffa7528..427b2305d 100644 --- a/stubs/redis/@tests/stubtest_allowlist.txt +++ b/stubs/redis/@tests/stubtest_allowlist.txt @@ -20,10 +20,8 @@ redis.sentinel.Sentinel.slave_for redis.RedisCluster redis.asyncio.Redis redis.asyncio.RedisCluster -redis.asyncio.client.MonitorCommandInfo redis.asyncio.client.Pipeline redis.asyncio.client.Redis -redis.asyncio.connection.ConnectKwargs redis.client.Pipeline redis.client.Redis redis.cluster.ClusterPipeline