Enable Ruff EXE (flake8-executable) (#13346)

This commit is contained in:
Avasam
2025-01-02 13:34:05 -05:00
committed by GitHub
parent e02e7ad5da
commit a540f78784
12 changed files with 4 additions and 0 deletions

1
scripts/sync_protobuf/google_protobuf.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""
Generates the protobuf stubs for the given protobuf version using mypy-protobuf.
Generally, new minor versions are a good time to update the stubs.

1
scripts/sync_protobuf/s2clientprotocol.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""
Generates the protobuf stubs for the given s2clientprotocol version using mypy-protobuf.
Generally, new minor versions are a good time to update the stubs.

1
scripts/sync_protobuf/tensorflow.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""
Generates the protobuf stubs for the given tensorflow version using mypy-protobuf.
Generally, new minor versions are a good time to update the stubs.