* Add: integrate Ruff for code formatting and import order checks * Refactor: improve code formatting and readability in pixel_snapper_node.py * Update: upgrade Python version to 3.12 and Ruff to 0.14.10 in CI configuration * Update: upgrade GitHub Actions checkout and setup-python to v6
11 lines
269 B
Bash
Executable File
11 lines
269 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Run from repo root so paths resolve no matter where the script is called.
|
|
cd "$(dirname "$0")/.."
|
|
|
|
RUFF_SPEC="ruff==0.14.10"
|
|
|
|
pipx run --spec "$RUFF_SPEC" ruff format .
|
|
pipx run --spec "$RUFF_SPEC" ruff check --select I --fix .
|