Added mypy to scripts and workflow, and some first annotations for celerywyrm
This commit is contained in:
parent
9c5b5d0ac1
commit
75f37d7361
10 changed files with 90 additions and 7 deletions
5
bw-dev
5
bw-dev
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue