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(
55
55
pass
56
56
57
57
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 )
60
59
messages [str (file_path )] = lint_messages
61
60
await self .cache .save_file_cache (
62
61
file_path , file_version , self .CACHE_KEY , lint_messages
@@ -80,7 +79,6 @@ async def run(
80
79
async def run_pyrefly_lint_on_single_file (
81
80
self ,
82
81
file_path : Path ,
83
- file_content : str ,
84
82
) -> list [lint_action .LintMessage ]:
85
83
"""Run pyrefly type checking on a single file"""
86
84
lint_messages : list [lint_action .LintMessage ] = []
@@ -101,7 +99,6 @@ async def run_pyrefly_lint_on_single_file(
101
99
output = pyrefly_process .get_output ()
102
100
try :
103
101
pyrefly_results = json .loads (output )
104
- self .logger .info (pyrefly_results )
105
102
for error in pyrefly_results ['errors' ]:
106
103
lint_message = map_pyrefly_error_to_lint_message (error )
107
104
lint_messages .append (lint_message )
You can’t perform that action at this time.
0 commit comments