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