Skip to content

Commit

Permalink
garden: add "check" command
Browse files Browse the repository at this point in the history
  • Loading branch information
davvid committed Apr 11, 2024
1 parent 98e2f1d commit 9983238
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions garden.yaml
Expand Up @@ -21,13 +21,18 @@ trees:
--benchmark-only \
--benchmark-histogram=./images/benchmark-${timestamp} \
./jsonpickle_benchmarks.py
check>:
- test
- check/fmt
- doc
check/fmt: garden ${GARDEN_CMD_VERBOSE} fmt -- --check
doc: |
test -d pages || garden grow pages
python3 -m sphinx docs pages
fmt: |
black --skip-string-normalization --target-version py37 jsonpickle tests
isort --profile=black jsonpickle tests
test: python3 -m pytest ${GARDEN_CMD_VERBOSE} jsonpickle tests "$@"
black --skip-string-normalization --target-version py37 "$@" jsonpickle tests
isort --profile=black "$@" jsonpickle tests
test: python3 -m pytest ${GARDEN_CMD_VERBOSE} "$@" jsonpickle tests
tox: tox run-parallel --parallel-live "$@" ${GARDEN_CMD_VERBOSE}
pages:
description: The jsonpickle.github.io website.
Expand Down

0 comments on commit 9983238

Please sign in to comment.