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

View File

@@ -39,6 +39,7 @@ external = ["F821", "NQA", "Y"]
select = [
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"EXE", # flake8-executable
"FA", # flake8-future-annotations
"I", # isort
"N", # pep8-naming

0
scripts/stubsabot.py Normal file → Executable file
View File

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.

0
stubs/chevron/chevron/__init__.pyi Executable file → Normal file
View File

0
stubs/chevron/chevron/main.pyi Executable file → Normal file
View File

0
stubs/chevron/chevron/metadata.pyi Executable file → Normal file
View File

0
stubs/chevron/chevron/renderer.pyi Executable file → Normal file
View File

0
stubs/chevron/chevron/tokenizer.pyi Executable file → Normal file
View File

0
tests/get_external_stub_requirements.py Normal file → Executable file
View File

0
tests/get_stubtest_system_requirements.py Normal file → Executable file
View File