diff --git a/.flake8 b/.flake8 index f63765b0..5a74f2be 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,4 @@ [flake8] max-line-length = 88 -ignore = E501, E203, W503, E402, E231 # line length, whitespace before ':', line break before binary operator, module level import not at top of file +ignore = E501, E203, W503, E402, E231 +# line length, whitespace before ':', line break before binary operator, module level import not at top of file diff --git a/gdbgui/src/js/Registers.tsx b/gdbgui/src/js/Registers.tsx index e423928a..fef3d689 100644 --- a/gdbgui/src/js/Registers.tsx +++ b/gdbgui/src/js/Registers.tsx @@ -33,9 +33,8 @@ class Registers extends React.Component<{}, State> { let cmds: any = []; if ( [constants.inferior_states.paused, constants.inferior_states.running].indexOf( - // @ts-expect-error ts-migrate(2345) FIXME: Argument of type 'boolean' is not assignable to pa... Remove this comment to see the full error message - store.get("inferior_program") > -1 - ) + store.get("inferior_program") + ) == -1 ) { return cmds; } diff --git a/requirements.txt b/requirements.txt index 6d1a7f77..47e84fe7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,44 +1,48 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: # # pip-compile requirements.in # -bidict==0.21.2 +bidict==0.22.1 # via python-socketio +blinker==1.6.2 + # via flask brotli==1.0.9 # via flask-compress -click==8.0.1 +click==8.1.3 # via flask -dnspython==2.2.1 +dnspython==2.3.0 # via eventlet -eventlet==0.33.0 +eventlet==0.33.3 # via -r requirements.in -flask==2.0.1 +flask==2.3.2 # via # flask-compress # flask-socketio flask-compress==1.10.1 # via -r requirements.in -flask-socketio==5.1.1 +flask-socketio==5.1.2 # via -r requirements.in -greenlet==1.1.2 +greenlet==2.0.2 # via eventlet -itsdangerous==2.0.1 +itsdangerous==2.1.2 # via flask -jinja2==3.0.1 +jinja2==3.1.2 # via flask -markupsafe==2.0.1 - # via jinja2 +markupsafe==2.1.2 + # via + # jinja2 + # werkzeug pygdbmi==0.10.0.2 # via -r requirements.in -pygments==2.10.0 +pygments==2.15.1 # via -r requirements.in -python-engineio==4.2.1 +python-engineio==4.4.1 # via python-socketio -python-socketio==5.4.0 +python-socketio==5.8.0 # via flask-socketio six==1.16.0 # via eventlet -werkzeug==2.0.1 +werkzeug==2.3.4 # via flask