diff --git a/pyproject.toml b/pyproject.toml index 3206d143e6d1..349a413ace38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "PGH", # pygrep-hooks diff --git a/scripts/stubsabot.py b/scripts/stubsabot.py old mode 100644 new mode 100755 diff --git a/scripts/sync_protobuf/google_protobuf.py b/scripts/sync_protobuf/google_protobuf.py old mode 100644 new mode 100755 index da2ced6f9fc7..031c12bc5e0a --- a/scripts/sync_protobuf/google_protobuf.py +++ b/scripts/sync_protobuf/google_protobuf.py @@ -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. diff --git a/scripts/sync_protobuf/s2clientprotocol.py b/scripts/sync_protobuf/s2clientprotocol.py old mode 100644 new mode 100755 index 8f86fe5dccdd..8f947f68c752 --- a/scripts/sync_protobuf/s2clientprotocol.py +++ b/scripts/sync_protobuf/s2clientprotocol.py @@ -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. diff --git a/scripts/sync_protobuf/tensorflow.py b/scripts/sync_protobuf/tensorflow.py old mode 100644 new mode 100755 index 8328ca2c0e09..a959883f4c68 --- a/scripts/sync_protobuf/tensorflow.py +++ b/scripts/sync_protobuf/tensorflow.py @@ -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. diff --git a/stubs/chevron/chevron/__init__.pyi b/stubs/chevron/chevron/__init__.pyi old mode 100755 new mode 100644 diff --git a/stubs/chevron/chevron/main.pyi b/stubs/chevron/chevron/main.pyi old mode 100755 new mode 100644 diff --git a/stubs/chevron/chevron/metadata.pyi b/stubs/chevron/chevron/metadata.pyi old mode 100755 new mode 100644 diff --git a/stubs/chevron/chevron/renderer.pyi b/stubs/chevron/chevron/renderer.pyi old mode 100755 new mode 100644 diff --git a/stubs/chevron/chevron/tokenizer.pyi b/stubs/chevron/chevron/tokenizer.pyi old mode 100755 new mode 100644 diff --git a/tests/get_external_stub_requirements.py b/tests/get_external_stub_requirements.py old mode 100644 new mode 100755 diff --git a/tests/get_stubtest_system_requirements.py b/tests/get_stubtest_system_requirements.py old mode 100644 new mode 100755