# generate a project (no global install needed)
uvx cookiecutter gh:Elkhn/cookiecutter-uv-ml-template
cd <your-new-project>
uv sync
# Lint with Ruff; GitHub-style annotations on PRs
- name: Ruff check
run: uvx ruff check --output-format=github .# Lint entire repo
uvx ruff check .# 1) Sort imports
uvx isort .
# 2) Format code
uvx black .
# 3) Apply Ruff’s safe fixes (entire repo)
uvx ruff check --fix .Also remove unused imports/variables:
uvx ruff check --fix --unsafe-fixes .