-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
40 lines (32 loc) · 893 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
40 lines (32 loc) · 893 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
37
38
39
40
# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Almaz Ilaletdinov <a.ilaletdinov@yandex.ru>
# SPDX-License-Identifier: MIT
---
version: 3
tasks:
rs-run:
cmds:
- cargo run
fmt:
cmds:
- poetry run ruff check deltaver tests --fix --fix-only
- cargo fmt --all
lint:
cmds:
- poetry run ruff check deltaver tests --select="F"
- poetry run ruff check deltaver tests | poetry run ondivi
- ./lint-venv/bin/flake8 deltaver tests | poetry run ondivi
syntax-check:
cmds:
- poetry run ruff check deltaver tests --select=F --ignore=F401,F841
type-check:
cmds:
- poetry run mypy deltaver tests
test:
env:
TZ: UTC
deps: [syntax-check,type-check]
cmds:
- poetry run pytest {{.CLI_ARGS}} -s -vv --cov=deltaver --cov-report=term-missing:skip-covered
clean:
cmds:
- git clean -f -d -x