Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

test failure at last commits #39

Closed
Shane-XB-Qian opened this issue May 30, 2023 · 3 comments · Fixed by #41
Closed

test failure at last commits #39

Shane-XB-Qian opened this issue May 30, 2023 · 3 comments · Fixed by #41

Comments

@Shane-XB-Qian
Copy link
Contributor

FAILED tests/test_code_actions.py::test_ruff_code_actions - ValueError: Position.character should be in range [0:2147483647], but was -1.
FAILED tests/test_code_actions.py::test_import_action - ValueError: Position.character should be in range [0:2147483647], but was -1.

tests/test_code_actions.py:78:
tests/test_code_actions.py:103:

@jhossbach
Copy link
Member

Hmm, very strange, which version of ruff are you using?

@Shane-XB-Qian
Copy link
Contributor Author

which version of ruff are you using?

v0.0.260

and a bit different with ver in ci : Python 3.10.6

@jhossbach
Copy link
Member

I can reproduce the issue with ruff up to v0.0.266. Updating the package dependency to v.0.0.267. Thanks for the report!

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

Successfully merging a pull request may close this issue.

2 participants