novnc / websockify

Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.12.0: `ruff` fails in websockify.py and tests/load.py

kloczek opened this issue · comments

+ ruff check --diff --fix .
error: Failed to parse websockify.py:3:4: Simple statements must be separated by newlines or semicolons
error: Failed to parse tests/load.py:29:15: Simple statements must be separated by newlines or semicolons

./websockify.py is actually a shell script. It's an old symlink for legacy compatibility. So you'll need to add an exception for that.
tests/load.py seems to be in Python 2 still, so it needs a conversion.