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

Update use of deprecated workspace.get_document #271

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Oct 10, 2023

Resolves

.../astral-sh/ruff-lsp/tests/test_format.py:24: DeprecationWarning: 'workspace.get_document' has been deprecated, use 'workspace.get_text_document' instead
    document = workspace.get_document(uri)

@zanieb zanieb merged commit ea89c05 into main Oct 10, 2023
18 checks passed
@zanieb zanieb deleted the fix/deprecation-warning branch October 10, 2023 16:07
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 this pull request may close these issues.

2 participants