Skip to content

Commit 1bfb93b

Browse files
committed
pyproject.toml: Update environments and dependencies
1 parent 33f6478 commit 1bfb93b

File tree

2 files changed

+854
-599
lines changed

2 files changed

+854
-599
lines changed

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,14 @@ env.clean.skip_install = true
101101
env.typing.commands = [["mypy"]]
102102
env.lint.commands = [["ruff", "check"]]
103103
env.format.commands = [["ruff", "format", "--check"]]
104+
105+
# Default command and options for all the environments
104106
env_run_base.commands = [["pytest", {replace = "posargs", extend = true}]]
105-
env_run_base.dependency_groups = ["test"]
107+
env_run_base.dependency_groups = ["test"] # Ensure test dependencies are installed
106108
env_run_base.extras = ["littlefs"] # Include optional dependencies
107-
env_run_base.package = "editable" # Build package wheel and install into environments
109+
env_run_base.package = "editable" # Use the editable install mode
108110
env_run_base.runner = "uv-venv-runner" # We love uv
111+
112+
# Overrides for the latest python version
109113
env.3.13.commands = [["pytest", "--cov", {replace = "posargs", extend = true}]]
110-
env.3.13.labels = ["cov", "coverage", "latest"]
114+
env.3.13.labels = ["cov", "coverage", "latest"]

0 commit comments

Comments
 (0)