Files
x0x0b c06c657ce9 Add format (#5)
* 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
2025-12-30 14:57:50 +09:00

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 .