Skip to content

chore/numerous improvements #9

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

Merged

Conversation

deathbywedgie
Copy link
Contributor

  • various logic improvements
  • fixed various typos
  • fixed a potential bug with the to_str helper
  • fixed a potential bug with the "compile" method of the "RegEx" custom class
  • edited to comply with various PEP 8 best practices
  • removed some custom types that do not serve a purpose
  • improved some type hints
  • raise correct exceptions
  • split requirements.txt so that only true requirements for users to use the package are present, and moved all dev & test packages to requirements-dev.txt
  • set "raw" string flags for regex wherever backslashes are used

deathbywedgie and others added 28 commits May 4, 2022 16:56
…passed "list" types (lowercase). Both are valid, so added a Union to expect both to prevent type mismatch warnings.
… users of this module, and a new requirements-dev.txt contains all the packages collected for dev, testing, etc.
…d slash in most regex implementations, particularly with the re module
…t could be used by itself, and it causes type hint warnings, so just removed it
…lass without matching the base method's inputs, so added "args" and "kwargs" inputs.
…d this is an internal-only method, so renaming to match other multi-word methods (such as "search" and "trim" in the same String class)
…auses a TypeError exception, because inspect is not directly callable. From context I assume this was meant to be "inspect.ismodule," and doing so resolves the error without breaking any tests.
@theteladras theteladras merged commit 5d0cf27 into theteladras:main May 11, 2022
@deathbywedgie deathbywedgie deleted the chore/PEP8_E711_none_and_boolean branch May 12, 2022 00:23
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