-
Notifications
You must be signed in to change notification settings - Fork 62
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] Modular package organisation, pre-commit linting suite #58
Conversation
…amespace with `__all__`
…in `models` interface
Ah I just got the benchmarks to run and looks like I have made a mistake, I'm getting a warning from running the bench script (whereas no warning from the Click to show warning
Will put back to draft until I find. I'll take a look thanks Ash! Update it was the |
Hi @lmmx! Thank you for the contribution! We've looked into it with a team and can't merge it in its entirety right now, as it will introduce structural differences between public UForm and our private training repositories. That said, the CI upgrades look interesting! Would you be open to reverting the structural changes and keeping just the CI? Thanks again! |
Fair enough, sure I will cancel this PR and make a fresh one (#62) 📥 |
I wanted to review the code here to see how it worked, and I did some refactoring so I could read it more easily.
__all__
variables) and splits apart classes which do not need to share a module, for ease of reading individual components.ruff
and followed its guidance to avoid using*
imports so imports are also explicitruff
,toml-sort
andpyupgrade
(set to 3.7+). The 2 lines at the start will run this on CI (via https://pre-commit.ci) for the repo - this avoids requiring contributors to set this tool up