Skip to content

chore: fresh docstrings for the fuzzy audit sites - #1855

Merged
bdraco merged 1 commit into
masterfrom
restore_fuzzy_audit_prose
Aug 29, 2026
Merged

bdraco merged 1 commit into
masterfrom
restore_fuzzy_audit_prose

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Follow up to #1854 for #1835. Freshly written docstrings for every deleted site: the send and unregister all services methods, the whole equality family in _dns.py (address, pointer, text and question gained fresh ones for consistency too), the NSEC class and bitmap reader, current_time_millis, add_additional_answer (the RFC 6763 quotation returns under a fresh first line, cited IETF text), and the service name validator's return line.

Verification: the fuzzy paraphrase audit reports zero similarity between any new line and any pyzeroconf era line, and the four word n-gram comparison against the deleted text shares nothing outside the re-cited RFC quotation.

Test plan

  • full suite passes
  • fuzzy audit and 4-gram fresh-vs-deleted check both clean

@github-actions

Copy link
Copy Markdown

Thanks for contributing! A quick note: this project is in the process of moving from LGPL-2.1 to Apache 2.0, see #1835.

By continuing with this pull request you are okay with your contribution, and your previous contributions to this repository, being offered under Apache 2.0.

If that does not work for you, no hard feelings; reply with the exact phrase I do not agree to the Apache 2.0 license or simply close this pull request, and nothing of yours will be included in the change.

@bdraco
bdraco marked this pull request as ready for review August 29, 2026 20:10
@bdraco
bdraco merged commit 69c2a60 into master Aug 29, 2026
34 checks passed
@bdraco
bdraco deleted the restore_fuzzy_audit_prose branch August 29, 2026 20:12
@codecov

codecov Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.87%. Comparing base (8afd02f) to head (6d58eb4).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1855   +/-   ##
=======================================
  Coverage   99.87%   99.87%           
=======================================
  Files          33       33           
  Lines        3882     3882           
  Branches      567      567           
=======================================
  Hits         3877     3877           
  Misses          3        3           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed

codspeed Bot commented Aug 29, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing restore_fuzzy_audit_prose (6d58eb4) with master (4339329)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (8afd02f) during the generation of this report, so 4339329 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

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