Skip to content

Commit

Permalink
Enable Ruff EXE (flake8-executable) (#13346)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored Jan 2, 2025
1 parent e02e7ad commit a540f78
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Empty file modified scripts/stubsabot.py
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions scripts/sync_protobuf/google_protobuf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions scripts/sync_protobuf/s2clientprotocol.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions scripts/sync_protobuf/tensorflow.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Empty file modified stubs/chevron/chevron/__init__.pyi
100755 → 100644
Empty file.
Empty file modified stubs/chevron/chevron/main.pyi
100755 → 100644
Empty file.
Empty file modified stubs/chevron/chevron/metadata.pyi
100755 → 100644
Empty file.
Empty file modified stubs/chevron/chevron/renderer.pyi
100755 → 100644
Empty file.
Empty file modified stubs/chevron/chevron/tokenizer.pyi
100755 → 100644
Empty file.
Empty file modified tests/get_external_stub_requirements.py
100644 → 100755
Empty file.
Empty file modified tests/get_stubtest_system_requirements.py
100644 → 100755
Empty file.

0 comments on commit a540f78

Please sign in to comment.