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

Remove EquationConstraint #757

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Remove EquationConstraint #757

merged 1 commit into from
Jan 22, 2024

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jan 22, 2024

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes

What is the new behavior?

Instead, use dedicated constraints, since they can resolve faster.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Instead, use dedicated constraints, since they can resolve faster.
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Type: Refactoring

PR Summary: The pull request removes the EquationConstraint class from the gaphas library and updates the associated documentation and tests. The intent is to streamline the constraint solving process by using dedicated constraints that can resolve faster, potentially improving the performance of the library.

Decision: Comment

📝 Type: 'Refactoring' - not supported yet.
  • Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
✅ Small diff: the diff is small enough to approve with confidence.
No details provided.

General suggestions:

  • Ensure that the removal of EquationConstraint is clearly communicated in the release notes, especially if it's part of the public API, to inform users about the change and any necessary migration steps.
  • Verify that the new or modified constraints that replace EquationConstraint maintain the same functionality or provide a clear improvement, to justify the removal of the existing feature.
  • Consider providing a deprecation path if the EquationConstraint was widely used, to ease the transition for existing users of the library.

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@amolenaar amolenaar merged commit b4a4f1e into main Jan 22, 2024
12 checks passed
@amolenaar amolenaar deleted the remove-equation branch January 22, 2024 14:15
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