Skip to content

Commit f1d06ff

Browse files
minor improvements
1 parent efc12e1 commit f1d06ff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/install_and_run_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ test_target="$1"
1515
if [[ $test_target != "" ]]; then
1616
pytest -vv $test_target
1717
else
18-
pytest && mypy --config-file pyproject.toml
18+
pytest
19+
./scripts/run_mypy.sh --no-install
1920
fi

scripts/uninstall_all.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/bin/bash
22

3-
# Remove slack-cli-hooks without a version specifier so that local builds are cleaned up
43
pip uninstall -y slack-cli-hooks
5-
# Collect all installed packages
4+
65
PACKAGES=$(pip freeze | grep -v "^-e" | sed 's/@.*//' | sed 's/\=\=.*//')
7-
# Uninstall packages without exiting on a failure
6+
87
for package in $PACKAGES; do
98
pip uninstall -y $package
109
done

0 commit comments

Comments
 (0)