Skip to content

Commit

Permalink
do not merge: intentional mypy error for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Oct 18, 2024
1 parent 32318c7 commit 73d9139
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vllm/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
logger = init_logger(__name__)


def silly_test(x: str):
print(x)


def do_it_wrong():
silly_test(1)

Check failure on line 27 in vllm/scripts.py

View workflow job for this annotation

GitHub Actions / mypy (3.8)

Argument 1 to "silly_test" has incompatible type "int"; expected "str" [arg-type]

Check failure on line 27 in vllm/scripts.py

View workflow job for this annotation

GitHub Actions / mypy (3.9)

Argument 1 to "silly_test" has incompatible type "int"; expected "str" [arg-type]

Check failure on line 27 in vllm/scripts.py

View workflow job for this annotation

GitHub Actions / mypy (3.10)

Argument 1 to "silly_test" has incompatible type "int"; expected "str" [arg-type]

Check failure on line 27 in vllm/scripts.py

View workflow job for this annotation

GitHub Actions / mypy (3.11)

Argument 1 to "silly_test" has incompatible type "int"; expected "str" [arg-type]

Check failure on line 27 in vllm/scripts.py

View workflow job for this annotation

GitHub Actions / mypy (3.12)

Argument 1 to "silly_test" has incompatible type "int"; expected "str" [arg-type]


def register_signal_handlers():

def signal_handler(sig, frame):
Expand Down

0 comments on commit 73d9139

Please sign in to comment.