Skip to content

Context-form retrofit (batch 9): DuckDuckGo (9 functions)#914

Merged
abrignoni merged 1 commit into
mainfrom
context-retrofit-batch9
Jun 24, 2026
Merged

Context-form retrofit (batch 9): DuckDuckGo (9 functions)#914
abrignoni merged 1 commit into
mainfrom
context-retrofit-batch9

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Batch 9 — DuckDuckGo solo (9 functions). All converted per the convert-all decision: 4-arg → def fn(context), context.get_relative_path() on the path column / source return.

  • duckduckgo_thumbnailsLocation column (full path).
  • The other 8 functions return a full source_path (db), now relativized.
  • Kept the # pylint: disable=W0631 for the existing for source_path in files_found: break pattern (dropped W0613).

pylint 10.00, all 9 context form, imports clean, 8 get_relative_path applications. 27 of 28 done — only OrnetBrowser left.

Batch 9 (solo). All 9 DuckDuckGo functions 4-arg -> def fn(context);
duckduckgo_thumbnails has the 'Location' column (full path -> get_relative_path),
the other 8 return a full source_path (db) now relativized. Kept the W0631
disable for the existing 'for source_path in files_found: break' pattern.
pylint 10.00.
@abrignoni abrignoni merged commit 7b8a4f9 into main Jun 24, 2026
2 checks passed
@abrignoni abrignoni deleted the context-retrofit-batch9 branch June 24, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant