-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add formatter spec #8
Conversation
Lets wait with this after the other PRs have been merged, as it's a lot of code churn |
Sure! But sooner we join it, the better. I’ll rebase once the other two are merged. |
|
It should be good to go.
Good idea with the "main" protection, but I cannot change it with my permissions. EDIT: Not ready at all... |
I have added some branch protection rules for the I wasn't yet able to configure that checks have to pass, for some reason it doesn't show any checks available. Will investigate, maybe |
I forfeit. I removed the formatter step from the CI for now -- this CI is somehow cursed :D (the 1.9-macos keeps randomly failing) I think we should investigate the CI options as a separate PR:
The most important thing for me is to have the spec defined going forward. EDIT: After this one, I think we should consider tagging a new release. Any thoughts? |
Sorry pressed close by accident. Lets put this PR on hold for now until we can integrate it with CI. I think the code formatting issue is not that important for now and doesn't add any new functionality. I also don't really agree that the SciML style, at least as implemented in JuliaFormatter, is always an improvement (e.g. changing all single-line functions to long-form functions, spaces around Sorry that I didn't voice these thoughts earlier. We can revisit this later once we can get formatting to be part of the checks run on a PR, otherwise there is a constant drift of code style. I am trying to fix the Ctrl-C issue and then we can tag a new release. |
Noted! I hope it's okay that my contributions will come formatted - I have formatter always on in VSCode. The reason to have it in the package is that then I don't have to keep disabling it and I don't have to keep "un-formatting" the existing code. But our surface area is small atm, so shouldn't be a big deal. |
CI formatter is now fixed. It will run only on 1 slice of the matrix. Ready to merge if you're okay with it. |
Thanks, and sorry that it took so long! |
Adds a formatter for better collaboration and easier contributions for first-timers ("sciml" format, feel free to propose others)
Ran the formatted on the repo (no code changes)
Side thing: added models/ folder to .gitignore. Otherwise, it can kill the git when switching between branches. It's the same canonical folder for models as llama.cpp
Options: