Fix resolving of names that are not annotations (#1989), fixes #1988

* Fix #1988

* Fix failing code quality test.

* Fix  flake W504 line break after binary operator.  Now as formatted by Black.

* Added test to test/completion/pep0484_basic.py
Addressed feedback from Dave
This commit is contained in:
pyscripter authored and GitHub committed 2024-04-25 09:11:24 +00:00
1 parent f11014fc5d
commit a4574a50d0
2 files changed
+12

No files matched your search

+5
View File
@@ -180,6 +180,11 @@ def argskwargs(*args: int, **kwargs: float):
#? float()
kwargs['']
class Test:
str: str = 'abc'
#? ['upper']
Test.str.upp
class NotCalledClass:
def __init__(self, x):