Skip to content

Commit 2dcbd36

Browse files
author
Chad Smith
authored
lint fixes (#338)
1 parent e894bb6 commit 2dcbd36

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

docker/windows/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN set -x \
1515
&& apt-key add Release.key \
1616
&& add-apt-repository 'https://dl.winehq.org/wine-builds/ubuntu/' \
1717
&& apt-get update -qy \
18-
&& apt-get install --no-install-recommends -qfy $WINE_VERSION winbind cabextract \
18+
&& apt-get install --allow-unauthenticated --no-install-recommends -qfy $WINE_VERSION winbind cabextract \
1919
&& apt-get clean \
2020
&& wget -nv https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
2121
&& chmod +x winetricks \
@@ -36,9 +36,9 @@ ENV PYPI_INDEX_URL=https://pypi.python.org/simple
3636
RUN set -x \
3737
&& winetricks win7 \
3838
&& for msifile in `echo core dev exe lib path pip tcltk tools`; do \
39-
wget -nv "https://www.python.org/ftp/python/$PYTHON_VERSION/amd64/${msifile}.msi"; \
40-
wine msiexec /i "${msifile}.msi" /qb TARGETDIR=C:/Python36; \
41-
rm ${msifile}.msi; \
39+
wget -nv "https://www.python.org/ftp/python/$PYTHON_VERSION/amd64/${msifile}.msi"; \
40+
wine msiexec /i "${msifile}.msi" /qb TARGETDIR=C:/Python36; \
41+
rm ${msifile}.msi; \
4242
done \
4343
&& cd /wine/drive_c/Python36 \
4444
&& echo 'wine '\''C:\Python36\python.exe'\'' "$@"' > /usr/bin/python \

gdbgui/src/js/Registers.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ class Registers extends React.Component {
5050
}
5151
static cache_register_names(names) {
5252
// filter out non-empty names
53-
store.set(
54-
"register_names",
55-
names.filter(name => name)
56-
);
53+
store.set("register_names", names.filter(name => name));
5754
}
5855
static clear_register_name_cache() {
5956
store.set("register_names", []);

gdbgui/src/js/process_gdb_response.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,7 @@ const process_gdb_response = function(response_array) {
160160
if ("register-names" in r.payload) {
161161
let names = r.payload["register-names"];
162162
// filter out empty names
163-
store.set(
164-
"register_names",
165-
names.filter(name => name !== "")
166-
);
163+
store.set("register_names", names.filter(name => name !== ""));
167164
}
168165
if ("register-values" in r.payload) {
169166
store.set("previous_register_values", store.get("current_register_values"));
@@ -300,7 +297,9 @@ const process_gdb_response = function(response_array) {
300297

301298
if (r.payload["signal-name"] !== "SIGINT") {
302299
Actions.add_console_entries(
303-
`gdbgui noticed a signal was received (${r.payload["signal-meaning"]}, ${r.payload["signal-name"]}).`,
300+
`gdbgui noticed a signal was received (${r.payload["signal-meaning"]}, ${
301+
r.payload["signal-name"]
302+
}).`,
304303
constants.console_entry_type.GDBGUI_OUTPUT
305304
);
306305
Actions.add_console_entries(

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"Flask-Compress>=1.4.0, <2.0", # to compress flask responses
1313
"Flask-SocketIO>=2.9, <3.0", # websocket server
1414
"gevent>=1.2.2, <2.0", # websocket handling
15-
"gevent-websocket>=0.10.1, <0.11", # also websocket
16-
"eventlet>=0.25.0, <0.26". # also websocket
15+
"gevent-websocket>=0.10.1, <0.11", # also websocket
16+
"eventlet>=0.25.0, <0.26", # also websocket
1717
"pygdbmi>=0.9.0.0, <1.0", # parse gdb output
1818
"Pygments>=2.2.0, <3.0", # syntax highlighting
1919
]

0 commit comments

Comments
 (0)