Skip to content

[do not merge] add reproducable code example#1204

Draft
KazuCocoa wants to merge 1 commit intomasterfrom
pyright
Draft

[do not merge] add reproducable code example#1204
KazuCocoa wants to merge 1 commit intomasterfrom
pyright

Conversation

@KazuCocoa
Copy link
Member

(appium-python-client) kazu $ pyright script/pylance_repro.py
/Users/kazu/github/python-client/script/pylance_repro.py
  /Users/kazu/github/python-client/script/pylance_repro.py:10:28 - error: Cannot instantiate abstract class "WebDriver"
    "CanExecuteScripts.pin_script" is not implemented
    "CanExecuteScripts.unpin" is not implemented
    and 4 more... (reportAbstractUsage)
1 error, 0 warnings, 0 informations

With this PR to tell pyright refer to the venv properly:

(appium-python-client) kazu $ pyright script/pylance_repro.py         
0 errors, 0 warnings, 0 informations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant