Skip to content

Commit 696d628

Browse files
committed
add reproducable code example
1 parent 2a14455 commit 696d628

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "Apache-2.0"
77
license-files = ["LICENSE"]
88
authors = [
99
{name = "Kazuaki Matsuo", email = "kazucocoa1117@gmail.com"},
10-
{name = "Isaac Murchie"},
10+
{name = "Isaac Murchie"},
1111
]
1212
maintainers = [
1313
{name = "Kazuaki Matsuo"},
@@ -64,6 +64,10 @@ dev = [
6464
requires = ["hatchling"]
6565
build-backend = "hatchling.build"
6666

67+
[tool.pyright]
68+
venvPath = "."
69+
venv = ".venv"
70+
6771
[tool.hatch.version]
6872
source = "regex"
6973
path = "appium/version.py"

script/pylance_repro.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# pyright: strict
2+
3+
from appium import webdriver
4+
from appium.options.windows.windows.base import WindowsOptions
5+
6+
APPIUM_URL = 'http://127.0.0.1:4723'
7+
8+
options = WindowsOptions()
9+
10+
driver: webdriver.Remote = webdriver.Remote(command_executor=APPIUM_URL, options=options)

0 commit comments

Comments
 (0)