FluxML/Flux.jl

Figure out consistent code style

Open

#1765 aperta il 12 nov 2021

Vedi su GitHub
 (9 commenti) (0 reazioni) (0 assegnatari)Julia (619 fork)batch import
discussionhelp wanted

Metriche repository

Star
 (4725 star)
Metriche merge PR
 (Merge medio 4h 27m) (2 PR mergiate in 30 g)

Descrizione

I've seen a few of files now in FluxML repos where the diffs ping-pong back and forth between different styles. Most of the discrepancy seems to be around function and type signature whitespace. Trailing whitespace too, my editor config is set to trim them and a surprising number of core files seem to have them.

ChainRulesCore recently added JuliaFormatter to their CI and it seems to be working well, but even just a couple of sentences in CONTRIBUTING.md would go a long way.

Guida contributor