Pārlūkot izejas kodu

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.
Jason Novinger 1 mēnesi atpakaļ
vecāks
revīzija
e44d5d3855
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      netbox/extras/forms/scripts.py

+ 1 - 1
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: