Skip to content

Commit

Permalink
Fix black linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vyahello committed Apr 9, 2023
1 parent 69359e4 commit 63986d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion demoauto/browsers/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class RemoteBrowser(WebBrowser):

def __init__(self, remote_url: str = "localhost:9515") -> None:
self._remote: WebDriver = Remote(
command_executor=remote_url, options=ChromeOptions(),
command_executor=remote_url,
options=ChromeOptions(),
)

def driver(self) -> Driver:
Expand Down
4 changes: 2 additions & 2 deletions demoauto/map/conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class ExpectedCondition(Condition):
"""Represent expected condition of a web element."""

def __init__(self, *locators: str) -> None:
self._presence_of_element_located: PresenceOfElement = PresenceOfElement(
locators
self._presence_of_element_located: PresenceOfElement = (
PresenceOfElement(locators)
)

def presence_of_element_located(self) -> PresenceOfElement:
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==19.10b0
black==23.3.0
coveralls==1.8.2
coverage==4.5.4
flake8==3.7.9
Expand Down

0 comments on commit 63986d3

Please sign in to comment.