Files
sunnypilot/scripts/lint.sh
Shane Smiskol ce7c2488b5 add back lint-imports (#33202)
add back
old-commit-hash: 3d02c03001
2024-08-06 13:43:04 -07:00

12 lines
285 B
Bash
Executable File

#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR/../
# TODO: bring back rest of pre-commit checks:
# https://github.com/commaai/openpilot/blob/4b11c9e914707df9def598616995be2a5d355a6a/.pre-commit-config.yaml#L2
ruff check .
lint-imports