Skip to content

Conversation

@FusionSid
Copy link
Contributor

@FusionSid FusionSid commented Dec 20, 2022

Forgot to add changes list so adding now:

Changes:
hittem with the ol' black ./ (formatted code with black)
Added a custom exception to tell people if their input is invalid
Added titles, examples and a markdown table to README
Doc strings and type hints added to functions for IDE autocomplete and hover over help
Used the string library to make the conversion table more cleaner

Added InvalidInput exception that is raised when input is invalid
Used string libary to make the conversion table a bit cleaner
Added doc strings and type hints for functions so easy ide support
Formatted code with black
If for example the user puts an underscore in the decode function, it
will raise an error as '_' is not in the conversion table. Now it will
raise an InvalidInput exception which is more informative
@micfun123 micfun123 merged commit bffc3e5 into micfun123:main Dec 20, 2022
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