Skip to content

Commit 02ae21a

Browse files
committed
WIP
1 parent 142f452 commit 02ae21a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ env.lint.commands = [["ruff", "check"]]
9191
env.format.commands = [["ruff", "format", "--check"]]
9292

9393
# Default command and options for all the environments
94-
env_run_base.commands = [["pytest", {replace = "posargs", extend = true}]]
94+
env_run_base.commands = [["python", "-m", "pytest", {replace = "posargs", extend = true}]]
9595
env_run_base.dependency_groups = ["test"] # Ensure test dependencies are installed
9696
env_run_base.extras = ["littlefs"] # Include optional dependencies
9797
env_run_base.package = "editable" # Use the editable install mode
9898
env_run_base.runner = "uv-venv-runner" # We love uv
9999
env_run_base.skip_install = true
100100

101101
# Overrides for the latest python version
102-
env.3.13.commands = [["pytest", "--cov", {replace = "posargs", extend = true}]]
102+
env.3.13.commands = [["python", "-m", "pytest", "--cov", {replace = "posargs", extend = true}]]
103103
env.3.13.labels = ["cov", "coverage", "latest"]
104104

105105
[tool.mypy]

0 commit comments

Comments
 (0)