FluxML/Flux.jl

Figure out consistent code style

已关闭

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

 (9 条评论) (0 个反应) (0 位负责人)Julia (619 个派生)batch import
discussionhelp wanted

仓库指标

星标
 (4,725 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南