Commit d8c75dc2 authored by Jan Reimes's avatar Jan Reimes
Browse files

🎨 style(format): update formatting paths to include src/ directory

parent 3366070e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
[tasks.format]
description = "Format source code and tests"
run = [
    "uv run undersort corr_plot/ tests/ --exclude .config/",
    "uv run undersort src/ tests/ --exclude .config/",
    "ruff check --select I --fix",                           # isort-equivalent sorting of imports
    "ruff format corr_plot/ tests/ --exclude .config",
    "ruff format src/ tests/ --exclude .config",
]

[tasks.format-md]
description = "Format Markdown files"
run = "uvx mdformat . --exclude .agents/"
run = "uvx --with mdformat-front-matters mdformat . --exclude .config/ --end-of-line keep --number"