tox icon indicating copy to clipboard operation
tox copied to clipboard

Code style

Open kpp opened this issue 8 years ago • 2 comments

Use common style, probably add rustfmt hook to CI to check the style.

kpp avatar Dec 21 '17 15:12 kpp

https://github.com/rust-lang-nursery/fmt-rfcs/blob/master/guide/guide.md

fare avatar Dec 21 '17 15:12 fare

I propose we adopt the above style guide (first Google result for "rust style guide").

We should indeed probably add rustfmt to a pre-commit hook and/or part of the default build & test commands.

fare avatar Dec 21 '17 15:12 fare