Skip to content

Commit 49ae9ae

Browse files
committed
[py]: bump tox linting dependencies
1 parent 802c1f2 commit 49ae9ae

14 files changed

Lines changed: 7 additions & 19 deletions

File tree

py/selenium/webdriver/common/actions/interaction.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131

3232
class Interaction:
33-
3433
PAUSE = "pause"
3534

3635
def __init__(self, source) -> None:

py/selenium/webdriver/common/actions/mouse_button.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818

1919
class MouseButton:
20-
2120
LEFT = 0
2221
MIDDLE = 1
2322
RIGHT = 2

py/selenium/webdriver/common/bidi/console.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020

2121
class Console(Enum):
22-
2322
ALL = "all"
2423
LOG = "log"
2524
ERROR = "error"

py/selenium/webdriver/common/html5/application_cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525

2626
class ApplicationCache:
27-
2827
UNCACHED = 0
2928
IDLE = 1
3029
CHECKING = 2

py/selenium/webdriver/common/virtual_authenticator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class Transport(str, Enum):
3939

4040

4141
class VirtualAuthenticatorOptions:
42-
4342
# These are so unnecessary but are now public API so we can't remove them without deprecating first.
4443
# These should not be class level state in here.
4544
Protocol = Protocol

py/selenium/webdriver/edge/webdriver.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
class WebDriver(ChromiumDriver):
3131
"""Controls the Microsoft Edge driver and allows you to drive the browser.
3232
33-
You will need to download the MSEdgeDriver (Chromium) executable from
34-
https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
33+
You will need to download the MSEdgeDriver (Chromium) executable
34+
from https://developer.microsoft.com/en-us/microsoft-
35+
edge/tools/webdriver/
3536
"""
3637

3738
def __init__(

py/selenium/webdriver/firefox/firefox_binary.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828

2929
class FirefoxBinary:
30-
3130
NO_FOCUS_LIBRARY_NAME = "x_ignore_nofocus.so"
3231

3332
def __init__(self, firefox_path=None, log_file=None):
@@ -205,7 +204,6 @@ def _modify_link_library_path(self):
205204
self._firefox_env["LD_PRELOAD"] = self.NO_FOCUS_LIBRARY_NAME
206205

207206
def _extract_and_check(self, profile, x86, amd64):
208-
209207
paths = [x86, amd64]
210208
built_path = ""
211209
for path in paths:

py/selenium/webdriver/firefox/firefox_profile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ def _write_user_prefs(self, user_prefs):
170170
f.write(f'user_pref("{key}", {json.dumps(value)});\n')
171171

172172
def _read_existing_userjs(self, userjs):
173-
174173
pref_pattern = re.compile(r'user_pref\("(.*)",\s(.*)\)')
175174
try:
176175
with open(userjs, encoding="utf-8") as f:

py/selenium/webdriver/firefox/remote_connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121

2222
class FirefoxRemoteConnection(RemoteConnection):
23-
2423
browser_name = DesiredCapabilities.FIREFOX["browserName"]
2524

2625
def __init__(self, remote_server_addr, keep_alive=True, ignore_proxy=False) -> None:

py/selenium/webdriver/firefox/webdriver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939

4040
class WebDriver(RemoteWebDriver):
41-
4241
CONTEXT_CHROME = "chrome"
4342
CONTEXT_CONTENT = "content"
4443

0 commit comments

Comments
 (0)