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
11 lines
380 B
Bash
Executable file
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."
|