Skip to content

Commit 226bd8a

Browse files
committed
format.sh
1 parent 524b86d commit 226bd8a

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

py/selenium/webdriver/common/actions/action_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def add_key_input(self, name: str) -> KeyInput:
8989
----------
9090
name : str
9191
The name of the key input device.
92-
92+
9393
Returns:
9494
--------
9595
KeyInput : The newly created key input device.
96-
96+
9797
Example:
9898
--------
9999
>>> action_builder = ActionBuilder(driver)
@@ -115,7 +115,7 @@ def add_pointer_input(self, kind: str, name: str) -> PointerInput:
115115
- "pen"
116116
name : str
117117
The name of the pointer input device.
118-
118+
119119
Returns:
120120
--------
121121
PointerInput : The newly created pointer input device.
@@ -136,7 +136,7 @@ def add_wheel_input(self, name: str) -> WheelInput:
136136
----------
137137
name : str
138138
The name of the wheel input device.
139-
139+
140140
Returns:
141141
--------
142142
WheelInput : The newly created wheel input device.

scripts/format.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ WORKSPACE_ROOT="$(bazel info workspace 2>/dev/null)"
1010

1111
GOOGLE_JAVA_FORMAT="$(bazel run --run_under=echo //scripts:google-java-format)"
1212

13-
section "Buildifier"
14-
echo " buildifier" >&2
15-
bazel run //:buildifier
16-
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
13+
# section "Buildifier"
14+
# echo " buildifier" >&2
15+
# bazel run //:buildifier
16+
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)