File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5959 hooks :
6060 - id : biome-lint
6161 name : " Verifying/updating code with biome (improved prettier)"
62- additional_dependencies : ["@biomejs/biome@1.8.3 "]
62+ additional_dependencies : ["@biomejs/biome@2.0.4 "]
6363 - repo : https://github.com/cdce8p/python-typing-update
6464 rev : v0.7.2
6565 hooks :
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ case "$arch" in
3131 x86_64) use_arch=" linux-x64" ;;
3232 * ) echo " Unsupported arch for biome cli version: $arch " ; exit 2 ;;
3333esac
34- curl -sL " https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.0.0/ biome-{ $ use_arch }" -o " ${my_path} /tmp/biome"
34+ curl -sL " https://github.com/biomejs/biome/releases/latest/ download/biome-${ use_arch}" -o " ${my_path} /tmp/biome"
3535
3636# Make biome executable (if necessary)
3737chmod +x " ${my_path} /tmp/biome"
Original file line number Diff line number Diff line change @@ -61,14 +61,15 @@ if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "test_and_coverage" ] ; then
6161fi
6262
6363if [ -z " ${GITHUB_ACTIONS} " ] || [ " $1 " == " linting" ] ; then
64- # Disabled as per #270
65- # echo "... biome-ing (prettier) ..."
66- # biome_format
64+ echo " ... biome-ing (prettier) ..."
65+ biome_format
6766
6867 echo " ... ruff checking ..."
6968 ruff check plugwise_usb/ tests/
69+
7070 handle_command_error " ruff checking"
7171 echo " ... ruff formatting ..."
72+
7273 ruff format plugwise_usb/ tests/
7374 handle_command_error " ruff formatting"
7475
You can’t perform that action at this time.
0 commit comments