mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 09:08:27 +08:00
17
stubs/invoke/@tests/test_cases/check_task.py
Normal file
17
stubs/invoke/@tests/test_cases/check_task.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# pyright: reportUnnecessaryTypeIgnoreComment=true
|
||||
|
||||
from invoke import Context, task
|
||||
|
||||
# ===========================================
|
||||
# This snippet is a regression test for #8936
|
||||
# ===========================================
|
||||
|
||||
|
||||
@task
|
||||
def docker_build(context: Context) -> None:
|
||||
pass
|
||||
|
||||
|
||||
@task(docker_build)
|
||||
def docker_push(context: Context) -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user