FluxML/Flux.jl

Figure out consistent code style

Open

#1.765 aberto em 12 de nov. de 2021

Ver no GitHub
 (9 comments) (0 reactions) (0 assignees)Julia (619 forks)batch import
discussionhelp wanted

Métricas do repositório

Stars
 (4.725 stars)
Métricas de merge de PR
 (Mesclagem média 4h 27m) (2 fundiu PRs em 30d)

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.

Guia do colaborador