Repository navigation
Conversation
…name Both docstring occurrences of the real OS username are replaced with the sanitized-user placeholder the fixture already standardises on, and the THIS_FILE self-exemption on the tree-wide username scan is removed -- argued in the file's own docstring -- since a placeholder explains the mechanism identically and the exemption's only remaining job would have been to permit a future quotation rather than excuse a present one. Fixes #474 Co-Authored-By: Max <noreply>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #474.
The guard #467 added (tests/test_no_real_home_paths_467.py) to catch a real OS username shipping in a committed file itself quoted the real username twice in its own module docstring, and its tree-wide username scan exempted its own file (THIS_FILE) from the scan. Result: 8 passed on a tree containing exactly the value the guard exists to detect.
What changed
Verification
Verified the way the issue asked: git grep -n floriandavid -- . returns nothing at all, not the suite going green. Also ran the red/green pair for removing the exemption itself: with THIS_FILE's skip removed but the docstring still carrying the real username, the guard failed red, naming itself as the offending file; after the docstring fix it passed green, 8 passed, for the right reason.
Review
An Explore reviewer and the oss:auditor both reviewed the committed diff independently and both returned NO FINDINGS / FINDINGS: 0, classified via scripts/review_return.py as no-findings in both cases.
below-bar
None raised in this diff.