Files
sunnypilot/scripts/lint.sh
Maxime Desroches dbccf5c922 Revert "pre-commit: bring back some checks (#33196)" (#33216)
This reverts commit 4b356147185aa1d772947e4ec7b54a3e6e523f9d.
old-commit-hash: 3af774725f
2024-08-06 21:48:56 -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