File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ async def typing_update(
3939 - 2, filename: if not typing update is necessary
4040 """
4141 null_file = StringIO ()
42- autoflake_partial = partial (autoflake_main , standard_out = null_file , standard_error = null_file )
42+ autoflake_partial : partial [int ] = partial (
43+ autoflake_main , standard_out = null_file , standard_error = null_file
44+ )
4345 version_string = f"--py{ '' .join (map (str , args .min_version ))} -plus"
4446
4547 # Add, replace and reorder imports
@@ -191,7 +193,7 @@ async def async_run(args: argparse.Namespace) -> int:
191193 print (
192194 f"Limit applied! Only updated the first { args .limit } "
193195 f"of { len (files_updated )} files" )
194- async_restore_files (files_updated [args .limit :])
196+ await async_restore_files (files_updated [args .limit :])
195197 files_updated = files_updated [:args .limit ]
196198
197199 if args .check is True :
Original file line number Diff line number Diff line change 11-r requirements_test_pre_commit.txt
2- mypy==0.942
2+ mypy==0.950
33pre-commit==2.18.1
44pylint==2.13.7
55pytest==7.1.2
You can’t perform that action at this time.
0 commit comments