Closed jfcherng closed 1 month ago
Okay, now there are only line length issues left.
please ignore the failing CI, the test_did_change_before_did_close
is a flaky test,
we track it here -> https://github.com/sublimelsp/LSP/issues/2461
Thanks for the changes
I'll merge this tomorrow
With
from __future__ import annotations
, in type annotations we can convertType
=====>type
List
=====>list
Tuple
=====>tuple
Dict
=====>dict
Set
=====>set
Optional
=====>None
Union
=====>|
Py38 new feature(s):
str.format
=====> f-stringNot Done in this PR
By the way, we can upgrade
flake8
to v7. We previously stayed at v5 because it won't complaint about unused imports, which is used in# type: ...
. Or, let's goruff
as linter/formatter (this is the setup for all my Python projects now 😄 ).