[ty] Fix class literal subtyping with object fallback by MatthewMckee4 · Pull Request #20521 · astral-sh/ruff (original) (raw)
anyio (https://github.com/agronholm/anyio)
- src/anyio/from_thread.py:448:19: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 228 diagnostics
- Found 227 diagnostics
python-chess (https://github.com/niklasf/python-chess)
- chess/pgn.py:1857:35: error[invalid-argument-type] Argument to function
read_gameis incorrect: Expected() -> BaseVisitor[Unknown], found<class 'SkipVisitor'> - Found 13 diagnostics
- Found 12 diagnostics
kornia (https://github.com/kornia/kornia)
- kornia/config.py:68:36: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 784 diagnostics
- Found 783 diagnostics
dulwich (https://github.com/dulwich/dulwich)
- dulwich/client.py:2642:1: error[invalid-assignment] Object of type
<class 'SubprocessSSHVendor'>is not assignable to() -> SSHVendor - Found 180 diagnostics
- Found 179 diagnostics
pip (https://github.com/pypa/pip)
- src/pip/_vendor/rich/progress.py:980:20: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 435 diagnostics
- Found 434 diagnostics
rich (https://github.com/Textualize/rich)
- rich/progress.py:980:20: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 310 diagnostics
- Found 309 diagnostics
schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/auths.py:127:37: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 273 diagnostics
- Found 272 diagnostics
trio (https://github.com/python-trio/trio)
- src/trio/_core/_entry_queue.py:45:43: error[invalid-argument-type] Argument to function
Factoryis incorrect: Expected() -> RLock, found<class 'RLock'> - Found 674 diagnostics
- Found 673 diagnostics
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
- src/scikit_build_core/build/_wheelfile.py:51:22: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 45 diagnostics
- Found 44 diagnostics
prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-shell/prefect_shell/commands.py:265:9: error[invalid-argument-type] Argument to function
PrivateAttris incorrect: Expected() -> AsyncExitStack[bool | None], found<class 'AsyncExitStack'> - Found 3041 diagnostics
- Found 3040 diagnostics
egglog-python (https://github.com/egraphs-good/egglog-python)
- python/tests/test_deconstruct.py:92:12: error[no-matching-overload] No overload of function
get_callable_argsmatches arguments - Found 1359 diagnostics
- Found 1358 diagnostics
jax (https://github.com/google/jax)
- jax/_src/pallas/mosaic/interpret.py:403:26: error[no-matching-overload] No overload of function
fieldmatches arguments - jax/_src/pallas/mosaic/interpret.py:419:26: error[no-matching-overload] No overload of function
fieldmatches arguments - jax/_src/pallas/mosaic/interpret.py:582:26: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 2252 diagnostics
- Found 2249 diagnostics
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/internal/rate_limiter.py:203:29: error[no-matching-overload] No overload of function
fieldmatches arguments - Found 6669 diagnostics
- Found 6668 diagnostics
CPython (cases_generator) (https://github.com/python/cpython)
- Lib/_pyrepl/_threading_handler.py:35:32: error[no-matching-overload] No overload of function
fieldmatches arguments - Lib/test/test_urllib2.py:1870:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Lib/test/test_urllib2.py:1870:38: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'BarHandler'> - Lib/test/test_urllib2.py:1875:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Found 23908 diagnostics
- Found 23904 diagnostics
CPython (peg_generator) (https://github.com/python/cpython)
- Lib/_pyrepl/_threading_handler.py:35:32: error[no-matching-overload] No overload of function
fieldmatches arguments - Lib/test/test_urllib2.py:1870:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Lib/test/test_urllib2.py:1870:38: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'BarHandler'> - Lib/test/test_urllib2.py:1875:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Found 23907 diagnostics
- Found 23903 diagnostics
CPython (Argument Clinic) (https://github.com/python/cpython)
- Lib/_pyrepl/_threading_handler.py:35:32: error[no-matching-overload] No overload of function
fieldmatches arguments - Lib/test/test_urllib2.py:1870:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Lib/test/test_urllib2.py:1870:38: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'BarHandler'> - Lib/test/test_urllib2.py:1875:26: error[invalid-argument-type] Argument to function
build_openeris incorrect: ExpectedBaseHandler | (() -> BaseHandler), found<class 'FooHandler'> - Found 23908 diagnostics
- Found 23904 diagnostics