Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
kloczek opened this issue Jun 3, 2024 · 1 comment
Open

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

kloczek opened this issue Jun 3, 2024 · 1 comment

Comments

@kloczek
Copy link
Contributor

kloczek commented Jun 3, 2024

+ 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
@kloczek kloczek changed the title 0.12.0: `ruff1 fails in websockify.py and tests/load.py 0.12.0: ruf1 fails in websockify.py and tests/load.py Jun 3, 2024
@kloczek kloczek changed the title 0.12.0: ruf1 fails in websockify.py and tests/load.py 0.12.0: `ruf' fails in websockify.py and tests/load.py Jun 3, 2024
@kloczek kloczek changed the title 0.12.0: `ruf' fails in websockify.py and tests/load.py 0.12.0: ruff fails in websockify.py and tests/load.py Jun 3, 2024
@CendioOssman
Copy link
Member

./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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants