-
Notifications
You must be signed in to change notification settings - Fork 4
/
Taskfile.dist.yml
54 lines (42 loc) · 1008 Bytes
/
Taskfile.dist.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "3"
dotenv: [".env"]
tasks:
cp:
cmds:
- poetry run black ebl
- task: lint
- task: type
- git add --all && git commit -m "{{.CLI_ARGS}}" && git push
test-all:
cmds:
- task: format
- task: lint
- task: type
- task: test
python3:
cmds:
- poetry run python3 {{.CLI_ARGS}}
test:
cmds:
- poetry run pytest {{.CLI_ARGS}}
lint:
cmds:
- poetry run ruff check ebl {{.CLI_ARGS}}
type:
cmds:
- poetry run pyre check
format:
cmds:
- poetry run ruff format --check ebl
start:
cmds:
- poetry run waitress-serve --port=8000 --call ebl.app:get_app
validate-fragments:
cmds:
- poetry run python -m ebl.io.fragments.importer validate {{.CLI_ARGS}}
reindex-fragments:
cmds:
- poetry run python -m ebl.io.fragments.importer reindex {{.CLI_ARGS}}
import-fragments:
cmds:
- poetry run python -m ebl.io.fragments.importer import {{.CLI_ARGS}}