Commit Graph

13 Commits

Author SHA1 Message Date
lev-blit 563213272e Use dashes instead of underscores for METADATA.toml field names (#15614) 2026-04-07 15:03:53 +02:00
lev-blit fc7a5448ff Rename requires to dependencies in METADATA files (#15594) 2026-04-01 19:15:12 +02:00
Avasam 5c7fe07278 Run Black on *_pb2 files (#13930) 2025-05-05 15:22:59 +02:00
Avasam f26b41bdd1 Mention rerunning sync_protobuf scripts (#13924) 2025-05-03 02:29:31 +02:00
Avasam 335cc91b70 Bump tensorflow to ~=2.18.0 (#12916)
* Tensorflow proto script update

* Manual stubtest changes

* Use Path for arg type
2024-10-28 20:32:31 -07: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
Avasam c025e37bbb Rewrote protobuf generation scripts in Python (#12527) 2024-09-19 08:11:21 +02:00
Avasam b3bfbefa7f Create script to generate s2clientprotocol protobuf stubs (#11772)
Regenerate using mypy-protobuf 3.6
2024-04-22 15:05:21 +02:00
Avasam 88238202d7 Add pyupgrade check outdated-version-block (UP036) (#11509)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-01 07:15:53 -08:00
Ali Hamdan 6748816d43 Enable ruff's isort rules on files generated using mypy-protobuf (#10939)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-10-28 07:27:45 -07:00
Avasam e477c67852 Check *_pb2.pyi files again (#10909) 2023-10-23 01:22:55 +01:00
Alex Waygood 7d33060e6a Add upstream_repository to metadata for s2clientprotocol (#10500)
These stubs were added yesterday in #10372, and I forgot that we had just added this new metadata field
2023-07-22 20:43:30 +01:00
Jarrett Knauer 33588c7908 Add stubs for s2clientprotocol (#10372) 2023-07-21 17:18:07 +01:00