xref: /aosp_15_r20/external/mesa3d/meson_to_hermetic/lint.sh (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1#!/bin/bash
2if [ ! -d "venv" ]; then
3  echo "A venv folder was not found for this project, try running setup-venv.sh!"
4  exit 0
5fi
6
7source venv/bin/activate
8# automatically fixes formatting that isn't considered 'unsafe'
9ruff format --config "format.quote-style = 'single'"
10ruff check # This is for unsafe fixes
11echo "The above errors displays fixes that must be fixed manually."
12