From dd4d92f770d790872572fd56f8b82c42af5e9a3a Mon Sep 17 00:00:00 2001 From: Anas-Elhounsri Date: Wed, 27 May 2026 18:26:22 +0200 Subject: [PATCH] Fixed the previpus left code, all tests pass --- src/rsmetacheck/scripts/pitfalls/p001.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/rsmetacheck/scripts/pitfalls/p001.py b/src/rsmetacheck/scripts/pitfalls/p001.py index 7f62b48..76e7044 100644 --- a/src/rsmetacheck/scripts/pitfalls/p001.py +++ b/src/rsmetacheck/scripts/pitfalls/p001.py @@ -140,17 +140,7 @@ def detect_version_mismatch( normalized_release_version, threshold=ahead_significant_diff, ): - results.append({ - "has_pitfall": True, - "has_note": False, - "file_name": file_name, - "metadata_version": metadata_version, - "release_version": normalized_release_version, - "metadata_source": md_info["source"], - "metadata_source_file": metadata_source_file, - "note_text": None, - "notes": [] - }) + pitfall_sources.append(metadata_source_file) else: note_sources.append(metadata_source_file) else: