Skip to content

Overall refactoring - #10

Merged
ftomassetti merged 7 commits into
mainfrom
refactoring
Jun 7, 2026
Merged

ftomassetti merged 7 commits into
mainfrom
refactoring

Conversation

@ftomassetti

Copy link
Copy Markdown
Contributor
  • Make the code more idiomatic
  • Use more specific types from typing module (e.g., Dict, Set, Tuple) where appropriate
  • Use TypeVar and Generic for better generic type support
  • Implement proper all lists in init.py files to control what gets exported
  • Consider using Python 3.13+ features like pattern matching where appropriate
  • Use @DataClass decorators for classes that primarily hold data
  • Implement more specific exception types rather than using generic exceptions
  • Add more comprehensive docstrings following Google or NumPy style
  • Implement proper type hints in docstrings
  • Use f-strings for string formatting

… introduce specific exception types, enhance docstrings, leverage Python 3.10+ features (e.g., pattern matching), and tighten type hints.
…ce `ImmutableInstanceError` exception, refactor `SerializedContainmentValue` to a `dataclass`, and leverage Python 3.10+ features in method definitions.
…pdate docstrings across multiple modules for clarity and consistency.
…pdate `set_repository_name` method to support `None`, and clean up `requirements.txt` dependencies.
…in `set_name`, and update dependencies with new type stubs
…JSON serialization logic, and enhance null-checks across modules
@ftomassetti
ftomassetti marked this pull request as ready for review June 7, 2026 15:12
@ftomassetti
ftomassetti merged commit 646f403 into main Jun 7, 2026
5 checks passed
@ftomassetti
ftomassetti deleted the refactoring branch June 7, 2026 15:12
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.

1 participant