[tor-bugs] #26972 [Core Tor/Tor]: Create CI task to ensure that all Rust files have been formatted with rustfmt
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jul 30 02:09:39 UTC 2018
#26972: Create CI task to ensure that all Rust files have been formatted with
rustfmt
------------------------------+--------------------
Reporter: chelseakomlo | Owner: (none)
Type: task | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: rust
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------
We should have a CI task that ensures Rust files have been properly
formatted- this will be helpful when reviewing PRs.
Other linting tooling can be added here in the future (for example, any
clippy warnings we want to explicitly check) but starting with rustfmt
seems like a good first step.
It looks like running rustfmt with `--check` will be helpful here:
https://github.com/rust-lang-nursery/rustfmt#running
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26972>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list