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

[#161] refactoring multiple small files #174

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

angeloprobst
Copy link
Collaborator

@angeloprobst angeloprobst commented Jul 30, 2024

Progress on ticket #161

Refactors multiple files:

hyperon_das_atomdb/__init__.py
hyperon_das_atomdb/adapters/ram_only.py
hyperon_das_atomdb/adapters/__init__.py
hyperon_das_atomdb/exceptions.py
hyperon_das_atomdb/index.py
hyperon_das_atomdb/logger.py
hyperon_das_atomdb/utils/expression_hasher.py
hyperon_das_atomdb/utils/patterns.py
hyperon_das_atomdb/utils/settings.py
  1. Applies black formatting.
  2. Ensures lines width at max 100 chars.
  3. Adds and fixes type annotations, mainly returns.
  4. Applies new standard of type annotations (i.e. dict[A, B] | None instead of Optional[Dict[A, B]].
  5. Adds and/or fixes docstrings.
  6. Ensures the files pass green through pylint.
  7. Fixes some typos.
  8. Left some TODO comments for future evaluation.

@angeloprobst angeloprobst merged commit fa34f32 into master Jul 30, 2024
4 checks passed
@angeloprobst angeloprobst deleted the angelo/#161/refactoring-multiple-small-files branch July 30, 2024 15:35
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.

3 participants