Skip to content

Commit 77bf12a

Browse files
committed
format scripts
1 parent d9da922 commit 77bf12a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

poetry_scripts.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import subprocess
2-
2+
3+
34
def run_cmd(cmd):
45
subprocess.run(cmd, shell=True, check=True)
56

7+
68
def run_tests():
79
# Install requirements
810
run_cmd("poetry install")
9-
11+
1012
# Run pre-commit tests
1113
run_cmd("poetry run pre-commit run --all-files")
1214

0 commit comments

Comments
 (0)