Skip to content

Commit dffa6a1

Browse files
authored
Merge pull request #565 from sanders41/typo-fix
Fix typo in uv justfile
2 parents 83a5dba + e9d7fef commit dffa6a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/project_generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ fn create_pyo3_justfile(module: &str, pyo3_python_manager: &Pyo3PythonManager) -
10371037
uv run ruff check {module} tests --fix
10381038
10391039
@ruff-format:
1040-
ub run ruff format {module} tests
1040+
uv run ruff format {module} tests
10411041
10421042
@test *args="":
10431043
uv run pytest {{{{args}}}}

src/snapshots/python_project__project_generator__tests__save_justfile_maturin.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
source: src/project_generator.rs
33
expression: content
44
---
5-
"@_default:\n just --list\n\n@lock:\n uv lock\n\n@develop:\n uv run maturin develop\n\n@develop-release:\n uv run maturin develop -r\n\n@install: && develop\n uv sync --frozen --all-extras\n\n@install-release: && develop-release\n uv sync --frozen --all-extras\n\n@lint:\n echo cargo check\n just --justfile {{justfile()}} check\n echo cargo clippy\n just --justfile {{justfile()}} clippy\n echo cargo fmt\n just --justfile {{justfile()}} fmt\n echo mypy\n just --justfile {{justfile()}} mypy\n echo ruff check\n just --justfile {{justfile()}} ruff-check\n echo ruff formatting\n just --justfile {{justfile()}} ruff-format\n\n@check:\n cargo check\n\n@clippy:\n cargo clippy --all-targets\n\n@fmt:\n cargo fmt --all -- --check\n\n@mypy:\n uv run mypy my_project tests\n\n@ruff-check:\n uv run ruff check my_project tests --fix\n\n@ruff-format:\n ub run ruff format my_project tests\n\n@test *args=\"\":\n uv run pytest {{args}}\n"
5+
"@_default:\n just --list\n\n@lock:\n uv lock\n\n@develop:\n uv run maturin develop\n\n@develop-release:\n uv run maturin develop -r\n\n@install: && develop\n uv sync --frozen --all-extras\n\n@install-release: && develop-release\n uv sync --frozen --all-extras\n\n@lint:\n echo cargo check\n just --justfile {{justfile()}} check\n echo cargo clippy\n just --justfile {{justfile()}} clippy\n echo cargo fmt\n just --justfile {{justfile()}} fmt\n echo mypy\n just --justfile {{justfile()}} mypy\n echo ruff check\n just --justfile {{justfile()}} ruff-check\n echo ruff formatting\n just --justfile {{justfile()}} ruff-format\n\n@check:\n cargo check\n\n@clippy:\n cargo clippy --all-targets\n\n@fmt:\n cargo fmt --all -- --check\n\n@mypy:\n uv run mypy my_project tests\n\n@ruff-check:\n uv run ruff check my_project tests --fix\n\n@ruff-format:\n uv run ruff format my_project tests\n\n@test *args=\"\":\n uv run pytest {{args}}\n"

0 commit comments

Comments
 (0)