Skip to content

fix: correct typo and constructor assignment bug#12

Open
Avicennasis wants to merge 1 commit into
GoodRx:masterfrom
Avicennasis:docs/fix-typos
Open

fix: correct typo and constructor assignment bug#12
Avicennasis wants to merge 1 commit into
GoodRx:masterfrom
Avicennasis:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix 2 issues in fwffr.py:

  • Typo fix: justfiiedjustified in the skip_justified docstring (line 118)
  • Bug fix: self.strip = Trueself.strip = strip — the strip constructor parameter was being ignored; self.strip was always hardcoded to True regardless of the value passed to __init__

Note: The second fix is a behavioral change — self.strip will now respect the value passed to the constructor instead of always being True. The default value of the strip parameter is True, so existing callers that don't pass strip explicitly are unaffected.

- Fix typo: `justfiied` → `justified` in docstring
- Fix bug: `self.strip = True` → `self.strip = strip` so the
  constructor parameter is actually used
@grx-security-snyk

grx-security-snyk commented Jun 29, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants