Skip to content

[tqdm] Replace Incomplete with concrete types on tqdm attributes - #16687

Merged
srittau merged 2 commits into
python:mainfrom
huuan26:fix/tqdm-std-attributes-types
Nov 5, 2026
Merged

srittau merged 2 commits into
python:mainfrom
huuan26:fix/tqdm-std-attributes-types

Conversation

@huuan26

@huuan26 huuan26 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR replaces occurrences of \Incomplete\ on public attributes of \ qdm.std.tqdm\ with concrete types matching their _init_\ parameters and runtime assignments:

  • \pos: int\

  • : float | int\
  • \leave: bool | None\

  • cols: int | None,
    rows: int | None\
  • \mininterval: float, \maxinterval: float, \miniters: float | None\
  • \dynamic_miniters: bool\
  • \�scii: bool | str | None\
  • \unit: str, \unit_scale: bool | float, \unit_divisor: float, \initial: float\
  • \lock_args: tuple[bool | None, float | None] | tuple[bool | None] | None\
  • \delay: float | None, \gui: bool, \dynamic_ncols: bool, \smoothing: float\
  • \�ar_format: str | None, \postfix: Mapping[str, object] | str | None, \colour: str | None\
  • \last_print_n: float | int, \last_print_t: float, \start_t: float\

Verification


  • uff check stubs/tqdm: passed

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit a269297 into python:main Nov 5, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants