Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 214f833

Browse files
committed
Add invoke tasks
1 parent 729744d commit 214f833

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ settings.json
55
links.txt
66
videos/
77
playground.py
8-
tasks.py
98
extra.txt
109

1110
### Python ###

tasks.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from invoke import Context, task
2+
3+
import monkey_patch_invoke as _
4+
5+
6+
@task
7+
def test(context: Context) -> None:
8+
"""Run tests."""
9+
context.run('pytest . ', pty=True)

0 commit comments

Comments
 (0)