Skip to content

Commit

Permalink
Revert shebang change
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Mar 8, 2025
1 parent 8e6ab6d commit 4448fec
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion scripts/create_baseline_stubs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3

"""Script to generate unannotated baseline stubs using stubgen.
Expand Down
2 changes: 1 addition & 1 deletion scripts/stubsabot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
from __future__ import annotations

import argparse
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync_protobuf/google_protobuf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/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
2 changes: 1 addition & 1 deletion scripts/sync_protobuf/s2clientprotocol.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/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
2 changes: 1 addition & 1 deletion scripts/sync_protobuf/tensorflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/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
2 changes: 1 addition & 1 deletion tests/check_typeshed_structure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3

"""
Check that the typeshed repository contains the correct files in the
Expand Down
2 changes: 1 addition & 1 deletion tests/get_external_stub_requirements.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3

# TODO: It should be possible to specify the Python version and platform
# and limit the output to the packages that are compatible with that version
Expand Down
2 changes: 1 addition & 1 deletion tests/get_stubtest_system_requirements.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
import sys

from ts_utils.requirements import get_stubtest_system_requirements
Expand Down
2 changes: 1 addition & 1 deletion tests/mypy_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
"""Run mypy on typeshed's stdlib and third-party stubs."""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion tests/pyright_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3

import os
import shutil
Expand Down
2 changes: 1 addition & 1 deletion tests/pytype_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
# Lack of pytype typing
# pyright: reportUnknownVariableType=false, reportUnknownMemberType=false, reportUnknownArgumentType=false, reportMissingTypeStubs=false
"""Test runner for typeshed.
Expand Down
2 changes: 1 addition & 1 deletion tests/regr_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
"""Run mypy on the test cases for the stdlib and third-party stubs."""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion tests/runtests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
from __future__ import annotations

import argparse
Expand Down
2 changes: 1 addition & 1 deletion tests/stubtest_stdlib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
"""Test typeshed's stdlib using stubtest.
stubtest is a script in the mypy project that compares stubs to the actual objects at runtime.
Expand Down
2 changes: 1 addition & 1 deletion tests/stubtest_third_party.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
"""Test typeshed's third party stubs using stubtest."""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion tests/typecheck_typeshed.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S uv run
#!/usr/bin/env python3
"""Run mypy on the "tests" and "scripts" directories."""

from __future__ import annotations
Expand Down

0 comments on commit 4448fec

Please sign in to comment.