Commit Graph

33 Commits

Author SHA1 Message Date
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Konstantin Baikov
d31e3ea11e Fix tqdm.asyncio type inconsistency (#13259) 2024-12-19 10:48:07 +01:00
Danny Yang
2cc71de3c3 Update tqdm to 4.67.* (#13004) 2024-11-18 13:09:35 +01:00
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Alex Waygood
1d2fe59e88 Third-party stubs: remove unused type: ignores (#11063) 2023-11-23 13:35:45 +00:00
Alex Waygood
8023ba764a Remove redundant inheritances from Generic and various typing protocols (#10981) 2023-11-06 14:00:25 +01:00
Alex Waygood
a08d4c8d2e Remove many redundant inheritances from Generic[] (#10933) 2023-10-26 20:07:20 +02:00
Nikita Sobolev
2c1db00761 Consistently use Generic as the last base class (#10610) 2023-08-28 10:16:54 +02:00
Alex Waygood
7836c47286 Fix stubtest for tqdm (#10560) 2023-08-11 12:52:01 +01:00
github-actions[bot]
9647d964d0 [stubsabot] Bump tqdm to 4.66.* (#10552)
Release: https://pypi.org/pypi/tqdm/4.66.0
Repository: https://github.com/tqdm/tqdm
Diff: https://github.com/tqdm/tqdm/compare/v4.65.2...v4.66.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/tests_utils.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `tqdm/cli.py`, `tqdm/contrib/discord.py`, `tqdm/contrib/slack.py`, `tqdm/contrib/telegram.py`, `tqdm/std.py`, `tqdm/utils.py`.
 - Total lines of Python code added: 274.
 - Total lines of Python code deleted: 182.

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-10 01:46:03 +01:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood
b69b17c3d8 Add defaults for third-party stubs Q-T (#9959) 2023-03-28 13:16:31 +02:00
Alex Waygood
9472dc10b9 Update tqdm stubs to 4.65.* (#9840) 2023-03-04 10:06:40 -08:00
Avasam
52ec44fa58 Improve many __(a)exit__ annotations (#9696) 2023-02-25 21:50:30 +00:00
Avasam
5ac80781ec Integrate requirements-stubtest.txt into METADATA.toml (#9778) 2023-02-21 11:19:50 +01:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Avasam
29d9aa9b28 Complete stubtest and fix Any subclassing in tqdm (#9525) 2023-02-07 00:15:44 +00:00
Alex Waygood
a4e3cfefac Improve pre-commit config (#9563)
- Add a few more hooks. These are all very fast, and I've found them useful in other projects:
  - Autofixes:
    - `trailing-whitespace`: fixes trailing whitespace
    - `requirements-txt-fixer`: alphabetises items in `requirements.txt` files
    - `end-of-file-fixer`: makes sure every file ends with a single newline character
    - `mixed-line-ending`: Makes sure Windows users don't accidentally introduce CRLF line endings into a file that uses LF line endings
  - None-autofixes:
    - `check-yaml`: loads YAML files to validate syntax
    - `check-toml`: loads TOML files to validate syntax
    - `check-merge-conflict`: detects merge-conflict strings in files and blocks them from accidentally being committed
    - `check-case-conflict`: checks for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT; blocks them from being committed.
  - Change the bot schedule to quarterly, to reduce noisy PRs
  - Change the `black` language target-version to Python 3.10, synching the setting here with the changes that were made to our `pyproject.toml` file in #7538
2023-01-18 06:29:18 -08:00
Avasam
102a8fa38c Fix some Any subclassing in tqdm (#9505) 2023-01-13 08:10:21 +00:00
Gabriel Smith
dfa6a75af6 tqdm: Add missing tqdm.monitor class variable (#9249)
Co-authored-by: Gabriel Smith <gabriel.smith@precisionot.com>
2022-11-22 19:39:14 +00:00
Ted Conbeer
294b03f75b tqdm: allow disable=None in tqdm.__init__ (#9154) 2022-11-10 13:45:28 -08:00
Nikita Sobolev
c0e9038f0d Fix and allow classes with missing metaclasses (#9136) 2022-11-08 18:13:59 +00:00
Nikita Sobolev
3e828bd307 Remove empty __init__ methods from classes with 0 parents (#8907) 2022-10-16 12:47:47 +01:00
Alex Waygood
48e76e8a56 Bump mypy to 0.981 (#8796) 2022-09-26 17:14:33 -07:00
Liam Damewood
3ab3711f42 tqdm: All leave arguments can be None (#8603)
All `leave` arguments are optional in tqdm.
2022-08-24 12:30:29 +02:00
Kevin Kirsche
8c51fab4e2 Support extras in stubtest_third_party.py (#8467) 2022-08-18 14:12:36 -07:00
Alex Waygood
0764f9f31f tqdm: Add __all__ to __init__.pyi and submodules (#8308)
Fixes #8307
2022-07-15 17:39:45 +01:00
Alex Waygood
ed0b3a4412 tqdm: Improve a few __init__ methods (#8246) 2022-07-15 10:30:24 +01:00
Alex Waygood
6348a58b8b Import Match and Pattern from re, not typing (#8277) 2022-07-12 15:32:48 +02:00
Alex Waygood
42c5633bf6 Improve tqdm.contrib.logging context managers (#8251) 2022-07-07 10:28:28 +01:00
Daniel Rembiszewski
c23cb7be75 Add stubs for tqdm (#8235)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 18:34:11 +01:00