Semyon Moroz
f0878dea3d
[ts_utils] Update jsonc_to_json function ( #15325 )
2026-01-26 19:29:15 +01:00
Semyon Moroz
0c45df1544
Check pyrightconfig stricter exclude list order ( #15243 )
2026-01-15 12:32:58 +01:00
Semyon Moroz
e213e04a84
Update pathspec to >=1.0.3 ( #15244 )
2026-01-09 17:05:43 +00:00
Sebastian Rittau
a99e8e42d5
Update pathspec to 1.0.0 ( #15234 )
2026-01-08 10:47:43 +01:00
Avasam
82c02d3729
Remove duplicate get_external_apt_dependencies.py and re-standardize CI package install logs ( #14533 )
2025-08-20 18:48:37 +02:00
Sebastian Rittau
3f08a4ed10
Split tool.stubtest.platforms metadata key ( #13746 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
Alexandre Detiste
9ab7fde0a0
prefer newer "tomllib" over "tomli" backport ( #14486 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-28 17:06:21 +01:00
Semyon Moroz
7cf443e754
[stubsabot] Move obsolete data to ts_utils.metadata ( #14422 )
2025-07-21 14:47:03 +02:00
Semyon Moroz
82e2e9c53a
[stubsabot] Support "Removal" PRs ( #14401 )
2025-07-16 13:48:04 +02:00
Huy Nguyen
0ad1d96f2c
Fix ImportError for get_oldest_supported_python in runtests.py ( #14381 ) ( #14382 )
2025-07-08 17:18:27 +02:00
Avasam
64875ee375
Support requires_python in runtests.py ( #14051 )
2025-05-13 18:51:46 +02:00
Huy Nguyen
a8fa1ab0d9
Add mypy plugin support to stubtest configuration ( #13948 )
2025-05-11 14:45:30 +02:00
Avasam
4265ee7c72
Enable Ruff flake8-use-pathlib (PTH) ( #13795 )
...
Port existing code to pathlib
2025-05-05 18:59:43 +02:00
Avasam
5faa04038b
Apply mypy-tests custom config to other mypy-based tests ( #13825 )
2025-04-28 12:24:26 +02:00
Avasam
09416d0750
Use GitIgnoreSpec in ts_utils.get_gitignore_spec ( #13797 )
2025-04-07 13:58:57 +02:00
Alex Waygood
d92a6449c2
Remove more Python 3.8 cruft ( #13787 )
2025-04-03 11:56:38 +01:00
Brian Schubert
c7ab79ed1b
Drop Python 3.8 support in typeshed utilities ( #13774 )
2025-04-02 15:09:17 +01:00
Avasam
eafa274f1b
Enable Ruff PLW (Pylint Warning) ( #13749 )
2025-04-01 15:12:15 +02:00
Avasam
df1206f3cb
Enable Ruff flake8-use-pathlib (PTH) (autofix only) ( #13750 )
2025-04-01 13:27:33 +02:00
Avasam
83ee2a2dc6
Enable Ruff flake8-builtins (A) ( #13729 )
2025-03-28 14:11:50 -04:00
Abdrakhman
5c85697da7
Set hatchling as the build system for ts_utils ( #13622 )
2025-03-13 12:03:50 +03:00
Sebastian Rittau
915a348bfa
Third party stubtest: Print time per distribution ( #13547 )
2025-02-26 21:44:10 +01:00
Avasam
c99e54da3e
Cross-platform third-party stubs requirements install script ( #13482 )
2025-02-09 21:21:22 +00:00
Avasam
9c959a7dd3
Enable Ruff D (pydocstyle) with pep257 convention ( #13326 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-02 22:05:35 +00:00
Avasam
ebc9ff8718
Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments ( #13334 )
2024-12-29 17:21:19 -08:00
Avasam
2cdda12df7
Move RUF022+RUF023 ignores to stubs only and remove TODO ( #13322 )
...
Move RUF022+RUF023 to stubs only and remove TODO
2024-12-28 19:30:24 +00:00
Alex Waygood
e5804cebab
Revert "Remove unnecessary pyright supressions" ( #13299 )
...
Revert "Remove unnecessary pyright supressions (#13287 )"
This reverts commit 445858c565 .
2024-12-25 00:54:56 +00:00
Konstantin Baikov
445858c565
Remove unnecessary pyright supressions ( #13287 )
2024-12-23 20:27:11 -08:00
Avasam
bff5547abc
Use lib/ts_utils for scripts/sync_protobuf ( #12913 )
...
- Simplified `download_file` error handling (400+ return codes already raised errors!)
- Moved `update_metadata` from `scripts/sync_protobuf/_utils.py` to `lib/ts_utils/metadata.py`
- Improved `update_metadata` to support any key (values unvalidated atm) and return the modified dictionary
- Updated `scripts/stubsabot.py` to use `update_metadata`
- Updated `scripts/sync_protobuf/*` to use `lib/ts_utils`
- Updated `scripts/sync_protobuf/tensorflow.py` and `scripts/sync_protobuf/google_protobuf.py` to use the version directly from the `METADATA.toml` file
2024-10-28 11:47:52 +01:00
Sebastian Rittau
2d0f6d8277
Bundle path handling in ts_utils.paths ( #12805 )
2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8
Support compatible version specifiers ( #12771 )
2024-10-17 08:15:30 +02:00
Sebastian Rittau
a2d6d5315b
[stubsabot] Use common functions from ts_utils ( #12772 )
2024-10-14 15:41:28 +02:00
Sebastian Rittau
1fa4986f71
Move common utility functions to a common library ( #12773 )
2024-10-14 08:00:02 +02:00