Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit f619dfd

Browse files
committed
Switch to just for the task runner
1 parent e19653a commit f619dfd

2 files changed

Lines changed: 33 additions & 2 deletions

File tree

.github/workflows/linters.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ jobs:
2424
run: |
2525
python -m pip install poetry
2626
27+
- uses: extractions/setup-just@v1
28+
2729
- name: Prepare project for development
2830
run: |
29-
python -m poetry install
31+
just setup
3032
3133
- name: Run linters
3234
run: |
33-
python -m poetry run invoke lint
35+
just lint
3436

justfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
default:
2+
just --list --unsorted
3+
4+
setup:
5+
python -m poetry install
6+
7+
lint:
8+
python -m poetry run black --check .
9+
python -m poetry run isort --check .
10+
python -m poetry run flake8 .
11+
python -m poetry run mypy
12+
13+
test:
14+
python -m poetry run pytest
15+
16+
format:
17+
python - m poetry run black .
18+
python - m poetry run isort .
19+
20+
21+
build-doc:
22+
cd docs ; python -m poetry run sphinx-build -W . _build/html
23+
24+
dev-doc:
25+
cd docs ; python -m poetry run sphinx-autobuild . _build/html
26+
27+
deploy-doc: build-doc
28+
ghp-import --push --force --no-jekyll docs/_build/html/
29+

0 commit comments

Comments
 (0)