mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Using precise code for pyright: ignore and re-enabling various pyright tests (#12576)
This commit is contained in:
1 parent
2404a70f2b
commit
3719f02dbf
18 files changed
+60
-75
No files matched your search
@@ -12,7 +12,7 @@ from numpy.typing import NDArray
|
||||
# Actual type: _cffi_backend.__CDataOwn <cdata 'struct _jack_position *'>
|
||||
# This is not a real subclassing. Just ensuring type-checkers sees this type as compatible with _CDataBase
|
||||
# pyright has no error code for subclassing final
|
||||
class _JackPositionT(_CDataBase): # type: ignore[misc] # pyright: ignore
|
||||
class _JackPositionT(_CDataBase): # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
|
||||
audio_frames_per_video_frame: float
|
||||
bar: int
|
||||
bar_start_tick: float
|
||||
|
||||
Reference in new issue
Block a user