FluxML/Flux.jl

Figure out consistent code style

Open

#1,765 创建于 2021年11月12日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)Julia (4,725 star) (619 fork)batch import
discussionhelp wanted

描述

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.

贡献者指南

Figure out consistent code style · FluxML/Flux.jl#1765 | Good First Issue