Skip to content

Commit 48a61d5

Browse files
committed
chore(pixi): Add md linting
1 parent 32d911e commit 48a61d5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

pixi.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,19 @@ _style-python = "ruff format && ruff check --fix"
3636
_style-md = "fd . --type file --extension md --exec mdformat --wrap 80"
3737
_style-toml = "tombi format ./"
3838

39+
_lint-md = """
40+
fd . \
41+
--type file \
42+
--extension md \
43+
--exec mdformat --wrap 80 \
44+
--check
45+
"""
3946
_lint-python = "ruff format --check && ruff check"
4047

4148
style = { depends-on = ["_style-md", "_style-python", "_style-toml"] }
4249
apply-qc = "style"
4350

44-
lint = { depends-on = ["_lint-python"] }
51+
lint = { depends-on = ["_lint-md", "_lint-python"] }
4552
qc = "lint"
4653

4754
[environments]

0 commit comments

Comments
 (0)