File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed
Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ markupsafe==2.1.5
6969 # via
7070 # -r docs.txt
7171 # jinja2
72- mypy==1.10.0
72+ mypy==1.11.1
7373 # via -r typing.txt
7474mypy-extensions==1.0.0
7575 # via
Original file line number Diff line number Diff line change 66#
77iniconfig==2.0.0
88 # via pytest
9- mypy==1.10.0
9+ mypy==1.11.1
1010 # via -r typing.in
1111mypy-extensions==1.0.0
1212 # via mypy
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ def debug_application(
375375
376376 environ ["wsgi.errors" ].write ("" .join (tb .render_traceback_text ()))
377377
378- def execute_command ( # type: ignore[return]
378+ def execute_command (
379379 self ,
380380 request : Request ,
381381 command : str ,
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def _pythonize(value: str) -> None | bool | int | float | str:
101101 return _PYTHON_CONSTANTS [value ]
102102 for convert in int , float :
103103 try :
104- return convert (value ) # type: ignore
104+ return convert (value )
105105 except ValueError :
106106 pass
107107 if value [:1 ] == value [- 1 :] and value [0 ] in "\" '" :
@@ -826,13 +826,13 @@ def _join(parts: list[ast.expr]) -> ast.expr:
826826 # bad line numbers cause an assert to fail in debug builds
827827 for node in ast .walk (module ):
828828 if "lineno" in node ._attributes :
829- node .lineno = 1
829+ node .lineno = 1 # type: ignore[attr-defined]
830830 if "end_lineno" in node ._attributes :
831- node .end_lineno = node .lineno
831+ node .end_lineno = node .lineno # type: ignore[attr-defined]
832832 if "col_offset" in node ._attributes :
833- node .col_offset = 0
833+ node .col_offset = 0 # type: ignore[attr-defined]
834834 if "end_col_offset" in node ._attributes :
835- node .end_col_offset = node .col_offset
835+ node .end_col_offset = node .col_offset # type: ignore[attr-defined]
836836
837837 code = compile (module , "<werkzeug routing>" , "exec" )
838838 return self ._get_func_code (code , func_ast .name )
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def data(self) -> bytes:
370370 return self .get_data (parse_form_data = True )
371371
372372 @t .overload
373- def get_data ( # type: ignore
373+ def get_data (
374374 self ,
375375 cache : bool = True ,
376376 as_text : t .Literal [False ] = False ,
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ deps = pip-tools
4040skip_install = true
4141change_dir = requirements
4242commands =
43- pip-compile -U build.in
44- pip-compile -U docs.in
45- pip-compile -U tests.in
46- pip-compile -U typing.in
47- pip-compile -U dev.in
43+ pip-compile build.in -q {posargs:-U}
44+ pip-compile docs.in -q {posargs:-U}
45+ pip-compile tests.in -q {posargs:-U}
46+ pip-compile typing.in -q {posargs:-U}
47+ pip-compile dev.in -q {posargs:-U}
You can’t perform that action at this time.
0 commit comments