FluxML/Flux.jl

Figure out consistent code style

Fermée

#1 765 ouverte le 12 nov. 2021

 (9 commentaires) (0 réaction) (0 personne assignée)Julia (619 forks)batch import
discussionhelp wanted

Métriques du dépôt

Stars
 (4 725 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur