forked from your-tools/python-cli-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
36 lines (27 loc) · 705 Bytes
/
justfile
File metadata and controls
36 lines (27 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
poetry := "poetry"
poetry_run := poetry + " run"
default:
just --list --unsorted
setup:
{{ poetry }} check
{{ poetry }} install
lint:
{{ poetry_run }} black --check .
{{ poetry_run }} isort --check .
{{ poetry_run }} flake8 .
{{ poetry_run }} mypy
test:
{{ poetry_run }} pytest
format:
{{ poetry_run }} black .
{{ poetry_run }} isort .
build-doc:
{{ poetry_run }} sphinx-build -W docs/ docs/_build/html
dev-doc:
{{poetry_run }} sphinx-autobuild docs/ docs/_build/html
deploy-doc: build-doc
{{ poetry_run }} ghp-import \
--no-jekyll \
--remote github \
docs/_build/html/
git push origin gh-pages --force --no-verify