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

PEP 604: from __future__ import annotations #841

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/commands/error_code_to_link_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.

# pyre-strict

from __future__ import annotations

error_code_to_fragment: dict[int, str] = {
0: "0-unused-ignore",
Expand Down
2 changes: 1 addition & 1 deletion client/language_server/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
the LSP client. This currently involves doing some kind of transformation to/from a JSON string
to the specific representation in class form.
"""

from __future__ import annotations

import asyncio
import dataclasses
Expand Down