Skip to content

Commit 5eef52c

Browse files
committed
comment
1 parent 427314c commit 5eef52c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

tests/Run_Lint.ipynb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
},
227227
"source": [
228228
"# This is pseudo code currently !!!!!! (But it does work enough. Files disapear when they are 0.00 because no error entries so will generally see 5.0 until disapears)\n",
229+
"- the change is what is interesting so actually we should not parse the numbers at all and should just print the last line per file.\n",
229230
"\n",
230231
"# Lint Code Quality Report (For future use)\n",
231232
"\n",
@@ -285,7 +286,7 @@
285286
" if score_match:\n",
286287
" score_str = score_match.group(1)\n",
287288
" score = float(score_str)\n",
288-
" print(f\" Parsed score string: '{score_str}' -> float: {score}\")\n",
289+
" #print(f\" Parsed score string: '{score_str}' -> float: {score}\")\n",
289290
" return score\n",
290291
" else:\n",
291292
" print(f\" No score found\")\n",
@@ -328,7 +329,7 @@
328329
" try:\n",
329330
" all_issues = json.loads(result_json.stdout)\n",
330331
" py_files = sorted(set(issue['path'] for issue in all_issues))\n",
331-
" print(f\"Found {len(py_files)} files from JSON\\n\")\n",
332+
" #print(f\"Found {len(py_files)} files from JSON\\n\")\n",
332333
" return aggregate_score, py_files\n",
333334
" except json.JSONDecodeError:\n",
334335
" print(\"Failed to parse JSON for file list\\n\")\n",
@@ -340,11 +341,11 @@
340341
"\n",
341342
"# Process each file\n",
342343
"file_data = {}\n",
343-
"print(\"Processing individual files...\")\n",
344+
"#print(\"Processing individual files...\")\n",
344345
"\n",
345346
"for py_file in py_files:\n",
346-
" print(f\"\\n{Path(py_file).name}:\")\n",
347-
" print(f\"\\nProcessing: {py_file}\")\n",
347+
" #print(f\"\\n{Path(py_file).name}:\")\n",
348+
" #print(f\"\\nProcessing: {py_file}\")\n",
348349
" # Get score\n",
349350
" cmd = [sys.executable, \"-m\", \"pylint\", py_file]\n",
350351
" result = subprocess.run(cmd, capture_output=True, text=True)\n",

0 commit comments

Comments
 (0)