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 & validate core components: Geometry, utilities, and testing #10

Open
8 tasks
alekfal opened this issue Feb 6, 2025 · 0 comments
Open
8 tasks
Assignees
Labels
development Adding features and major updates documentation Improvements or additions to documentation enhancement New feature or request

Comments

@alekfal
Copy link
Owner

alekfal commented Feb 6, 2025

  • Add input data validation in current methods (use of pydantic or native python dataclasses)
  • Update geometry.py module:
    • Use objects for point or bbox geometries.
    • Apply input validation (consider using a Pydantic model or a simple class abstraction for a structured codebase).
  • Centralize constant global variables (such as DEFAULT_POWER_VARIABLES) and import them where nessesary.
  • Create a utilities.py module for output preparation.
  • Refactor tests to use fixtures and test case generators instead of manually written test cases.
  • Update documentation to include the new changes and more examples.
@alekfal alekfal added development Adding features and major updates documentation Improvements or additions to documentation enhancement New feature or request labels Feb 6, 2025
@alekfal alekfal added this to the Road to a new version release milestone Feb 6, 2025
@alekfal alekfal self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Adding features and major updates documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant