packages/pyright-internal/src/analyzer/dataClasses.ts (8 lines): - line 583: // TODO - emit diagnostic - line 599: // TODO - emit diagnostic - line 604: // TODO - emit diagnostic - line 612: // TODO - emit diagnostic - line 623: // TODO - emit diagnostic - line 634: // TODO - emit diagnostic - line 655: // TODO - emit diagnostic - line 673: // TODO - emit diagnostic packages/pyright-internal/typeshed-fallback/stubs/boto/boto/utils.pyi (5 lines): - line 14: # TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO - line 25: # TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO - line 34: # TODO use email.message.Message once stubs exist - line 37: _Provider = Any # TODO replace this with boto.provider.Provider once stubs exist - line 38: _LockType = Any # TODO replace this with _thread.LockType once stubs exist packages/pyright-internal/src/analyzer/docStringConversion.ts (4 lines): - line 341: // TODO: Handle the rest of these, and the precedence order (which depends on the - line 352: // TODO: Replace this with real list parsing. This may have - line 362: // TODO: Find a better way to handle this; the below breaks escaped - line 371: // TODO: Strip footnote/citation references. packages/pyright-internal/typeshed-fallback/stdlib/typing.pyi (4 lines): - line 199: # TODO: This is special, in that a subclass of a hashable class may not be hashable - line 455: # TODO: We wish the key type could also be covariant, but that doesn't work, - line 518: # TODO use abstract properties - line 571: # TODO use abstractproperty packages/pyright-internal/typeshed-fallback/stubs/SQLAlchemy/sqlalchemy/engine/base.pyi (4 lines): - line 82: # TODO: - line 85: # TODO: - line 186: # TODO: - line 189: # TODO: packages/pyright-internal/typeshed-fallback/stdlib/builtins.pyi (4 lines): - line 204: bytes: Iterable[SupportsIndex] | SupportsBytes, # TODO buffer object argument - line 853: # TODO: the true signature of `dict.fromkeys` is not expressible in the current type system. - line 1030: # TODO: `compile` has a more precise return type in reality; work on a way of expressing that? - line 1084: def format(__value: object, __format_spec: str = ...) -> str: ... # TODO unicode packages/pyright-internal/typeshed-fallback/stdlib/ctypes/__init__.pyi (3 lines): - line 158: def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented - line 245: class HRESULT(_SimpleCData[int]): ... # TODO undocumented - line 282: # TODO These methods cannot be annotated correctly at the moment. packages/pyright-internal/typeshed-fallback/stdlib/tkinter/__init__.pyi (3 lines): - line 431: # TODO: config is an alias of configure, but adding that here creates lots of mypy errors - line 2771: # TODO: image_* methods - line 2869: # TODO: window_* methods packages/pyright-internal/typeshed-fallback/stubs/python-gflags/gflags.pyi (3 lines): - line 41: # TODO dict type - line 89: # TODO validator: gflags_validators.Validator - line 128: # TODO what is this packages/pyright-internal/src/analyzer/typeEvaluator.ts (3 lines): - line 5808: // TODO - validate that there's only one index entry - line 5810: // TODO - validate that literal strings are referencing - line 9643: // TODO - handle *args and **kwargs packages/pyright-internal/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi (3 lines): - line 86: # TODO: adapt needs to get probed - line 156: # TODO: please check in executemany() if seq_of_parameters type is possible like this - line 192: # TODO: Cursor class accepts exactly 1 argument packages/pyright-internal/typeshed-fallback/stdlib/os/__init__.pyi (3 lines): - line 112: # TODO: SCHED_RESET_ON_FORK not available on darwin? - line 113: # TODO: SCHED_BATCH and SCHED_IDLE are linux only? - line 176: O_ACCMODE: int # TODO: when does this exist? packages/pyright-internal/typeshed-fallback/stdlib/turtle.pyi (2 lines): - line 12: # TODO: Replace this with a TypedDict once it becomes standardized. - line 18: # TODO: Type this more accurately packages/pyright-internal/typeshed-fallback/stdlib/ossaudiodev.pyi (2 lines): - line 120: # TODO: oss_audio_device return type - line 126: # TODO: oss_mixer_device return type packages/pyright-internal/typeshed-fallback/stdlib/tkinter/filedialog.pyi (2 lines): - line 62: # TODO: command kwarg available on macos - line 98: # TODO: If someone actually uses these, overload to have the actual return type of open(..., mode) packages/pyright-internal/typeshed-fallback/stdlib/codecs.pyi (2 lines): - line 13: # TODO: this only satisfies the most common interface, where - line 180: # TODO: it is not possible to specify the requirement that all other packages/pyright-internal/typeshed-fallback/stdlib/compileall.pyi (2 lines): - line 24: stripdir: str | None = ..., # TODO: change to StrPath | None once https://bugs.python.org/issue40447 is resolved - line 39: stripdir: str | None = ..., # TODO: change to StrPath | None once https://bugs.python.org/issue40447 is resolved packages/pyright-internal/typeshed-fallback/stdlib/multiprocessing/context.pyi (2 lines): - line 39: # TODO: change return to SyncManager once a stub exists in multiprocessing.managers - line 41: # TODO: change return to Pipe once a stub exists in multiprocessing.connection packages/pyright-internal/src/languageService/renameModuleProvider.ts (1 line): - line 883: /** TODO: if we get more than 1 decls, flag it as attention needed */ packages/pyright-internal/typeshed-fallback/stdlib/ast.pyi (1 line): - line 151: # TODO: Override the visit_* methods with better return types. packages/pyright-internal/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi (1 line): - line 35: dict_type: Any # TODO: add support if someone needs this packages/pyright-internal/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi (1 line): - line 64: # TODO: TypedDicts packages/pyright-internal/typeshed-fallback/stdlib/threading.pyi (1 line): - line 5: # TODO recursive type packages/pyright-internal/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi (1 line): - line 75: # TODO: change this to packaging.markers.Marker | None once we can import packages/pyright-internal/typeshed-fallback/stdlib/inspect.pyi (1 line): - line 251: # TODO: The actual return type should be list[_ClassTreeItem] but mypy doesn't packages/pyright-internal/typeshed-fallback/stdlib/logging/handlers.pyi (1 line): - line 186: # TODO correct return value? packages/pyright-internal/typeshed-fallback/stdlib/xmlrpc/client.pyi (1 line): - line 100: ] # TODO: Replace 'Any' with some kind of binding packages/pyright-internal/typeshed-fallback/stdlib/colorsys.pyi (1 line): - line 8: # TODO undocumented packages/pyright-internal/typeshed-fallback/stubs/JACK-Client/jack/__init__.pyi (1 line): - line 4: _NDArray = Any # FIXME: no typings for numpy arrays packages/pyright-internal/typeshed-fallback/stdlib/_dummy_threading.pyi (1 line): - line 5: # TODO recursive type packages/pyright-internal/typeshed-fallback/stubs/Markdown/markdown/blockparser.pyi (1 line): - line 16: state: State[Any] # TODO: possible to get rid of Any? packages/pyright-internal/typeshed-fallback/stdlib/tkinter/tix.pyi (1 line): - line 171: # FIXME: Overload, certain combos return, others don't packages/pyright-internal/typeshed-fallback/stubs/invoke/invoke/tasks.pyi (1 line): - line 68: # TODO use overload packages/pyright-internal/typeshed-fallback/stdlib/bdb.pyi (1 line): - line 9: _TraceDispatch = Callable[[FrameType, str, Any], Any] # TODO: Recursive type packages/pyright-internal/typeshed-fallback/stdlib/_ast.pyi (1 line): - line 16: # TODO: Not all nodes have all of the following attributes packages/pyright-internal/typeshed-fallback/stdlib/weakref.pyi (1 line): - line 104: class finalize: # TODO: This is a good candidate for to be a `Generic[_P, _T]` class packages/pyright-internal/typeshed-fallback/stubs/cryptography/cryptography/hazmat/backends/__init__.pyi (1 line): - line 5: # TODO: add some backends packages/pyright-internal/typeshed-fallback/stdlib/argparse.pyi (1 line): - line 440: # TODO: Type keyword args properly. packages/pyright-internal/typeshed-fallback/stdlib/multiprocessing/queues.pyi (1 line): - line 11: # FIXME: `ctx` is a circular dependency and it's not actually optional. packages/pyright-internal/typeshed-fallback/stdlib/termios.pyi (1 line): - line 8: # TODO constants not really documented packages/pyright-internal/src/languageService/callHierarchyProvider.ts (1 line): - line 193: // TODO - it would be better if we could match the call to the packages/pyright-internal/typeshed-fallback/stubs/setuptools/setuptools/command/test.pyi (1 line): - line 31: # TODO: uncomment once https://github.com/python/mypy/pull/10884 is released packages/pyright-internal/typeshed-fallback/stdlib/pickle.pyi (1 line): - line 18: # TODO: holistic design for buffer interface (typing.Buffer?) packages/pyright-internal/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi (1 line): - line 25: # TODO: currently no good way to say "use the same big list of kwargs as parent class but also add these" packages/pyright-internal/typeshed-fallback/stdlib/_json.pyi (1 line): - line 33: # TODO: 'context' needs the attrs above (ducktype), but not __call__. packages/pyright-internal/typeshed-fallback/stdlib/imaplib.pyi (1 line): - line 11: # TODO: Commands should use their actual return types, not this type alias. packages/pyright-internal/typeshed-fallback/stdlib/traceback.pyi (1 line): - line 144: # TODO: more precise typing for __getitem__ and __iter__, packages/pyright-internal/typeshed-fallback/stubs/PyYAML/yaml/__init__.pyi (1 line): - line 16: # FIXME: the functions really return str if encoding is None, otherwise bytes. Waiting for python/mypy#5621 packages/pyright-internal/typeshed-fallback/stdlib/shlex.pyi (1 line): - line 39: # TODO argument types packages/pyright-internal/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi (1 line): - line 16: # TODO: loader is of type default_loader ie it takes a callable that has the packages/pyright-internal/typeshed-fallback/stdlib/collections/__init__.pyi (1 line): - line 61: # TODO: Much like `dict.fromkeys`, the true signature of `UserDict.fromkeys` is inexpressible in the current type system. packages/pyright-internal/typeshed-fallback/stdlib/curses/__init__.pyi (1 line): - line 17: # TODO: wait for `Concatenate` support packages/pyright-internal/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi (1 line): - line 13: # TODO kinda wrong, `getopt(object=object())` is invalid packages/pyright-internal/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi (1 line): - line 44: # TODO: check kwargs packages/pyright-internal/typeshed-fallback/stdlib/tempfile.pyi (1 line): - line 179: # FIXME: __next__ doesn't actually exist on this class and should be removed: packages/pyright-internal/typeshed-fallback/stdlib/urllib/request.pyi (1 line): - line 124: # TODO add a method for every (common) proxy protocol packages/pyright-internal/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi (1 line): - line 67: # TODO: use Union when mypy will handle it properly in overloaded operator packages/pyright-internal/typeshed-fallback/stdlib/hmac.pyi (1 line): - line 6: # TODO more precise type for object of hashlib packages/pyright-internal/typeshed-fallback/stdlib/tkinter/ttk.pyi (1 line): - line 1118: # TODO: don't any-type **kw. That goes to Frame.__init__. packages/pyright-internal/typeshed-fallback/stdlib/xmlrpc/server.pyi (1 line): - line 9: # TODO: Recursive type on tuple, list, dict packages/pyright-internal/typeshed-fallback/stubs/SQLAlchemy/sqlalchemy/dbapi.pyi (1 line): - line 1: # TODO: Tempory copy of _typeshed.dbapi, until that file is available in all typecheckers. packages/pyright-internal/typeshed-fallback/stdlib/_socket.pyi (1 line): - line 20: # TODO Most methods allow bytes as address objects