File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
extensions/fine_python_pyrefly/fine_python_pyrefly Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ async def run_on_single_file(
5555 pass
5656
5757 file_version = await self .file_manager .get_file_version (file_path )
58- file_content = await self .file_manager .get_content (file_path )
59- lint_messages = await self .run_pyrefly_lint_on_single_file (file_path , file_content )
58+ lint_messages = await self .run_pyrefly_lint_on_single_file (file_path )
6059 messages [str (file_path )] = lint_messages
6160 await self .cache .save_file_cache (
6261 file_path , file_version , self .CACHE_KEY , lint_messages
@@ -80,7 +79,6 @@ async def run(
8079 async def run_pyrefly_lint_on_single_file (
8180 self ,
8281 file_path : Path ,
83- file_content : str ,
8482 ) -> list [lint_action .LintMessage ]:
8583 """Run pyrefly type checking on a single file"""
8684 lint_messages : list [lint_action .LintMessage ] = []
@@ -101,7 +99,6 @@ async def run_pyrefly_lint_on_single_file(
10199 output = pyrefly_process .get_output ()
102100 try :
103101 pyrefly_results = json .loads (output )
104- self .logger .info (pyrefly_results )
105102 for error in pyrefly_results ['errors' ]:
106103 lint_message = map_pyrefly_error_to_lint_message (error )
107104 lint_messages .append (lint_message )
You can’t perform that action at this time.
0 commit comments