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 schemas and runners into classes #1833

Closed
Andrew-S-Rosen opened this issue Mar 4, 2024 · 0 comments
Closed

Refactor schemas and runners into classes #1833

Andrew-S-Rosen opened this issue Mar 4, 2024 · 0 comments
Labels
help wanted housekeeping Things to tidy up that are otherwise kind of boring

Comments

@Andrew-S-Rosen
Copy link
Member

Andrew-S-Rosen commented Mar 4, 2024

What would you like to report?

There is a fair bit too much copy/paste around for my liking. The best place to start tackling this is to refactor some of the quacc.schemas to inherit from common base classes and use an object-oriented approach. There is also the possibility of doing this for other modules (e.g. quacc.runners is an ideal place).

@Andrew-S-Rosen Andrew-S-Rosen added the housekeeping Things to tidy up that are otherwise kind of boring label Mar 4, 2024
This was referenced Apr 21, 2024
@Andrew-S-Rosen Andrew-S-Rosen closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
Andrew-S-Rosen added a commit that referenced this issue Jun 11, 2024
## Summary of Changes

Partially addresses #1833. This should not affect anything user-facing,
although it does close #2230.

### Checklist

- [X] I have read the ["Guidelines"
section](https://quantum-accelerators.github.io/quacc/dev/contributing.html#guidelines)
of the contributing guide. Don't lie! 😉
- [X] My PR is on a custom branch and is _not_ named `main`.
- [X] I have added relevant, comprehensive [unit
tests](https://quantum-accelerators.github.io/quacc/dev/contributing.html#unit-tests).

### Notes

- Your PR will likely not be merged without proper and thorough tests.
- If you are an external contributor, you will see a comment from
[@buildbot-princeton](https://github.com/buildbot-princeton). This is
solely for the maintainers.
- When your code is ready for review, ping one of the [active
maintainers](https://quantum-accelerators.github.io/quacc/about/contributors.html#active-maintainers).

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted housekeeping Things to tidy up that are otherwise kind of boring
Development

No branches or pull requests

1 participant