Skip to content

Commit 6abfce2

Browse files
committed
formatting
1 parent 12490d8 commit 6abfce2

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

py/selenium/webdriver/remote/shadowroot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def __repr__(self) -> str:
4040
)
4141

4242
def find_element(self, by: str = By.ID, value: str = None):
43-
"""Find an element inside a shadow root given a By strategy and locator.
43+
"""Find an element inside a shadow root given a By strategy and
44+
locator.
4445
4546
Parameters:
4647
----------

scripts/format.sh

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ section "Buildifier"
1414
echo " buildifier" >&2
1515
bazel run //:buildifier
1616

17-
section "Java"
18-
echo " google-java-format" >&2
19-
find "$PWD/java" -type f -name '*.java' | xargs "$GOOGLE_JAVA_FORMAT" --replace
20-
21-
section "Javascript"
22-
echo " javascript/node/selenium-webdriver - prettier" >&2
23-
NODE_WEBDRIVER="${WORKSPACE_ROOT}/javascript/node/selenium-webdriver"
24-
bazel run //javascript:prettier -- "${NODE_WEBDRIVER}" --write "${NODE_WEBDRIVER}/.prettierrc"
25-
26-
section "Ruby"
27-
echo " rubocop" >&2
28-
bazel run //rb:lint
29-
30-
section "Rust"
31-
echo " rustfmt" >&2
32-
bazel run @rules_rust//:rustfmt
17+
# section "Java"
18+
# echo " google-java-format" >&2
19+
# find "$PWD/java" -type f -name '*.java' | xargs "$GOOGLE_JAVA_FORMAT" --replace
20+
21+
# section "Javascript"
22+
# echo " javascript/node/selenium-webdriver - prettier" >&2
23+
# NODE_WEBDRIVER="${WORKSPACE_ROOT}/javascript/node/selenium-webdriver"
24+
# bazel run //javascript:prettier -- "${NODE_WEBDRIVER}" --write "${NODE_WEBDRIVER}/.prettierrc"
25+
26+
# section "Ruby"
27+
# echo " rubocop" >&2
28+
# bazel run //rb:lint
29+
30+
# section "Rust"
31+
# echo " rustfmt" >&2
32+
# bazel run @rules_rust//:rustfmt
3333

3434
# TODO: use bazel target when rules_python supports formatting
3535
section "Python"

0 commit comments

Comments
 (0)