1
0
Fork 0

Added mypy to scripts and workflow, and some first annotations for celerywyrm

This commit is contained in:
Joeri de Ruiter 2023-07-22 13:27:43 +02:00
parent 9c5b5d0ac1
commit 75f37d7361
10 changed files with 90 additions and 7 deletions

5
bw-dev
View file

@ -209,6 +209,10 @@ case "$CMD" in
bookwyrm/static/css/bookwyrm.scss bookwyrm/static/css/bookwyrm/**/*.scss --fix \
--config dev-tools/.stylelintrc.js
;;
mypy)
prod_error
runweb mypy celerywyrm bookwyrm
;;
collectstatic_watch)
prod_error
npm run --prefix dev-tools watch:static
@ -316,6 +320,7 @@ case "$CMD" in
echo " eslint"
echo " stylelint"
echo " formatters"
echo " mypy"
echo " collectstatic_watch"
echo " populate_streams [--stream=<stream name>]"
echo " populate_lists_streams"