Skip to content

Conversation

IvanIsCoding
Copy link
Collaborator

This is a very big refactor trying to tame lib.rs. Essentially we create a macro to avoid having to add m.add_wrapped(wrap_pyfunction!(your_new_function))?; every single time.

This will make it simpler for new contributors to add new methods, as now it is more likely they do not have to change lib.rs. If a new module is needed, the diff is similar but future contributions remain simple.

@IvanIsCoding IvanIsCoding requested a review from mtreinish July 14, 2024 21:01
@coveralls
Copy link

coveralls commented Jul 14, 2024

Pull Request Test Coverage Report for Build 11862646320

Details

  • 29 of 29 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 95.799%

Totals Coverage Status
Change from base Build 11860433299: -0.04%
Covered Lines: 17971
Relevant Lines: 18759

💛 - Coveralls

@IvanIsCoding IvanIsCoding deleted the smarter-boilerplate branch May 17, 2025 17:57
@IvanIsCoding IvanIsCoding restored the smarter-boilerplate branch May 17, 2025 17:57
@IvanIsCoding IvanIsCoding reopened this May 17, 2025
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