From e44d5d3855bbcebdd7d8542e1c099f9ae5f63ec1 Mon Sep 17 00:00:00 2001 From: Jason Novinger Date: Tue, 2 Jun 2026 12:03:35 +0200 Subject: [PATCH] Drop issue reference from data source validation comment Per AGENTS.md conventions, comments should not reference the current task or issue number, which rot as the codebase evolves. --- netbox/extras/forms/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/forms/scripts.py b/netbox/extras/forms/scripts.py index 577bdb6cf..b646c397d 100644 --- a/netbox/extras/forms/scripts.py +++ b/netbox/extras/forms/scripts.py @@ -92,7 +92,7 @@ class ScriptFileForm(ManagedFileForm): ) elif data_file := self.cleaned_data.get('data_file'): # Validate scripts synced from a data source as well, to avoid creating a broken - # script module that cannot be loaded or corrected (see #22180) + # script module that cannot be loaded or corrected try: validate_script_content(data_file.data, data_file.path) except Exception as e: