android_external_mesa3d/meson_to_hermetic/lint.sh
= c6cc3b175f meson-to-hermetic: Rename meson-to-hermetic to -> meson_to_hermetic
Python packages does not allow for the use of hyphen as it's a reserved token.
This change needs to be made to be imported by unit-tests in the future

This change will require a new venv to be generated locally:
`$ rm -rf venv`
`$ ./setup-venv.sh`
`$ source venv/bin/activate`

Test: Run meson_to_hermetic/build-android/fuchsia-turnip.sh
Bug: 360173803
Change-Id: Ie6fab4689ef5fc985e15747b0c06bfae662c387c
2024-08-26 22:13:07 +00:00

11 lines
380 B
Bash
Executable file

#!/bin/bash
if [ ! -d "venv" ]; then
echo "A venv folder was not found for this project, try running setup-venv.sh!"
exit 0
fi
source venv/bin/activate
# automatically fixes formatting that isn't considered 'unsafe'
ruff format --config "format.quote-style = 'single'"
ruff check # This is for unsafe fixes
echo "The above errors displays fixes that must be fixed manually."