-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
46 lines (39 loc) · 1.05 KB
/
mise.toml
File metadata and controls
46 lines (39 loc) · 1.05 KB
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
[settings]
env_shell_expand = true
[settings.task]
output = "keep-order"
[tasks.lint]
depends = ['lint:*', 'fmt:justfile --check']
[tasks."lint:expl3"]
description = 'Lint expl3 code'
alias = 'explcheck'
env.EXPLCHECK_CONFIG = '{{ get_env(name="EXPLCHECK_CONFIG", default="config/explcheck.toml") }}'
file = 'scripts/lint-expl3.sh'
interactive = true
[tasks."fmt:justfile"]
description = 'Format justfiles'
alias = 'justfile'
run = 'just --fmt'
interactive = true
[tasks."lint:python"]
description = 'Lint python code'
alias = 'ruff'
dir = 'l3build-wrapper'
usage = '''
arg "[command]" default="check"
'''
run = 'ruff {{ usage.command }}'
interactive = true
[tasks."lint:typos"]
description = "Check spelling"
alias = 'typos'
run = 'typos --config=config/typos.toml'
[tasks."lint:pre-commit"]
description = "Run pre-commit checks on all files"
alias = 'pre-commit'
env.SKIP = '{{ get_env(name="SKIP", default="typos,justfile,explcheck,ruff") }}'
run = [
'echo "Skipped checks: {{ env.SKIP }}"',
'pre-commit run --all-files --color=always'
]
interactive = true