Skip to content

Commit df1e459

Browse files
committed
🔧 allow types
1 parent 18a9a91 commit df1e459

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pylsp/lsp.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
77
"""
8+
from __future__ import annotations
89

910
from enum import Enum
1011
from typing import Optional, TypedDict

pylsp/plugins/pylint_lint.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Copyright 2021- Python Language Server Contributors.
44

55
"""Linter plugin for pylint."""
6+
from __future__ import annotations
7+
68
import collections
79
import logging
810
import sys

0 commit comments

Comments
 (0)