Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(doctor): Clean up Dead Stuff #177

Merged
merged 1 commit into from
Dec 21, 2023
Merged

refactor(doctor): Clean up Dead Stuff #177

merged 1 commit into from
Dec 21, 2023

Conversation

johnludwigm
Copy link
Contributor

Was looking at the code and figured I'd run the standard clean-up stuff.

  • Deleted commented-out code

@@ -47,7 +47,6 @@ def fix_mojibake(text):
"Ò": "N",
"Ñ": "O",
"Ð": "P",
"": "Q", # Missing
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Key is overwritten in L56

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's actually deliberate to document how we don't have the replacement keys for Q or X.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mlissner fixed now. Should be good to go.

Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I'd keep the two empty keys as code-as-documentation.

@mlissner mlissner merged commit c7a609f into freelawproject:main Dec 21, 2023
4 checks passed
@mlissner
Copy link
Member

Thanks

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