File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ if [ -f "${my_venv}/bin/activate" ]; then
1313 # Install test requirements
1414 pip install uv
1515 uv pip install --upgrade -e . -r requirements_test.txt
16+ uv pip install ruff
1617else
1718 echo " Virtualenv available, bailing out"
1819 exit 2
Original file line number Diff line number Diff line change 2828
2929if [ -z " ${GITHUB_ACTIONS} " ] || [ " $1 " == " linting" ] ; then
3030 # Black first to ensure nothings roughing up ruff
31- echo " ... black-ing ..."
32- black plugwise_usb/ tests/
31+ echo " ... ruff checking ..."
32+ ruff check -fix
3333
3434 # TODO: Skip ruff checks as there are too many for now (mainly missing docstrings)
3535 # echo "... ruff-ing ..."
36- # ruff check --fix plugwise_usb/ tests/
37-
38- echo " ... pylint-ing ..."
39- pylint plugwise_usb/ tests/
36+ # ruff check --fix plugwise_usb/ tests
37+ echo " ... ruff format ..."
38+ ruff format
4039fi
You can’t perform that action at this time.
0 commit comments