I also saw that flake8 showed a bunch of errors, instead of completely ignoring them in the workflow it would be better to explicitly silence them in the code (adding # noqa: C901 on the lines that flake8 flags), or even better fixing those issues when possible. Didn't want to overload this PR so left it as is.
Update python version as well as actions versions
Here's the successful run of the workflow https://github.com/romainrichard/razer-cli/actions/runs/8417847009
I also saw that
flake8
showed a bunch of errors, instead of completely ignoring them in the workflow it would be better to explicitly silence them in the code (adding# noqa: C901
on the lines that flake8 flags), or even better fixing those issues when possible. Didn't want to overload this PR so left it as is.