Skip to content

Commit 49a8848

Browse files
committed
linting
1 parent 2c53b2b commit 49a8848

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

py/selenium/webdriver/common/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ class Keys:
9090
META = "\ue03d"
9191
COMMAND = "\ue03d"
9292
ZENKAKU_HANKAKU = "\ue040"
93-
93+
9494
COMMAND_OR_CONTROL = COMMAND if sys.platform == "darwin" else CONTROL

py/test/selenium/webdriver/common/typing_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ def test_should_type_an_integer(driver, pages):
347347
element.send_keys(1234)
348348
assert element.get_attribute("value") == "1234"
349349

350+
350351
def test_should_type_ctrl_or_command_based_on_os(driver, pages):
351352
pages.load("javascriptPage.html")
352353
element = driver.find_element(by=By.ID, value="keyReporter")

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)