Skip to content

Commit

Permalink
fix: Added uvx to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
becktepe committed Oct 11, 2024
1 parent b7e9b15 commit 482cbae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ clean-docs: ## remove docs artifacts
cd docs && make clean

ruff: ## run ruff as a formatter
ruff format
ruff check --silent --exit-zero --no-cache --fix hydra_plugins
ruff check --exit-zero hydra_plugins
uvx ruff format hydra_plugins
uvx ruff check --silent --exit-zero --no-cache --fix hydra_plugins
uvx ruff check --exit-zero hydra_plugins
isort:
isort hydra_plugins tests
uvx isort hydra_plugins tests

test: ## run tests quickly with the default Python
python -m pytest tests
Expand Down Expand Up @@ -104,7 +104,7 @@ install-dev: clean ## install the package to the active Python's site-packages
uv pip install -e ".[dev,examples,doc,all]" --config-settings editable_mode=compat

check:
pre-commit run --all-files
uvx pre-commit run --all-files

format:
make ruff
Expand Down

0 comments on commit 482cbae

Please sign in to comment.