Skip to content

Commit

Permalink
Apply cruft updates (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed May 13, 2024
1 parent c529dc3 commit 51ade46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/allenporter/cookiecutter-python",
"commit": "b658a8560141d0bc0719eaac20d31e8728a1d76c",
"commit": "09fcc9a7574cc92301d2b72ea2535fed208a2e39",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
8 changes: 6 additions & 2 deletions script/run-mypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -o errexit

# other common virtualenvs
my_path=$(git rev-parse --show-toplevel)

pip3 install -r requirements_dev.txt --no-input --quiet
if [ -f "${my_path}/venv/bin/activate" ]; then
. "${my_path}/venv/bin/activate"
fi

mypy .
mypy ${my_path}

0 comments on commit 51ade46

Please sign in to comment.