File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from LSP .plugin import ClientConfig , Response , WorkspaceFolder
1+ from __future__ import annotations
2+
3+ from LSP .plugin import ClientConfig
4+ from LSP .plugin import Response
5+ from LSP .plugin import WorkspaceFolder
26from LSP .plugin .core .protocol import InitializeResult
3- from LSP .plugin .core .typing import cast , List , Optional
7+ from LSP .plugin .core .typing import cast
8+ from LSP .plugin .core .typing import List
9+ from LSP .plugin .core .typing import Optional
410from lsp_utils import NpmClientHandler
511import os
612import sublime
Original file line number Diff line number Diff line change 11[tool .pyright ]
2- pythonVersion = ' 3.11 '
2+ pythonVersion = " 3.8 "
33
44[tool .ruff ]
55select = [" E" , " F" , " W" ]
66ignore = [" F401" ]
77line-length = 120
88target-version = ' py38'
9+
10+ [tool .ruff .lint ]
11+ # Enable preview rules.
12+ preview = true
13+ select = [" F401" , " I" ]
14+
15+ [tool .ruff .lint .isort ]
16+ case-sensitive = false
17+ force-single-line = true
18+ from-first = true
19+ no-sections = true
20+ order-by-type = false
21+ required-imports = [" from __future__ import annotations" ]
You can’t perform that action at this time.
0 commit comments