Rename invoke tasks to standardize format

I think this is going to be a better way to name invoke tasks. The
previous naming where a verb was often first made it much harder for
anyone to figure out the name of a task that affects a certain thing
without always looking through the entire list.

For example, if someone is looking for a task that affects the web
server, it's much easier to find web-server-reload than
reload-web-server.

The changes were:

- check-code-style -> code-style-check
- reload-web-server -> web-server-reload
- renew-tls-certificate -> tls-certificate-renew
- type-checking -> type-check
- update-pip-requirements -> pip-requirements-update
This commit is contained in:
Deimos
2020-11-03 18:09:36 -07:00
parent 9d5e2bf5e3
commit 79072f76d8
3 changed files with 8 additions and 8 deletions

View File

@@ -3,4 +3,4 @@
# Pre-commit hook script that ensures type-checking, tests, and fast style checks pass
vagrant ssh -c ". activate \
&& invoke type-checking test --quiet check-code-style"
&& invoke type-check test --quiet code-style-check"

View File

@@ -3,4 +3,4 @@
# Pre-push hook script that ensures all tests and code checks pass
vagrant ssh -c ". activate \
&& invoke type-checking test --quiet --full check-code-style --full"
&& invoke type-check test --quiet --full code-style-check --full"