[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #26972 [Core Tor/Tor]: Create CI task to ensure that all Rust files have been formatted with rustfmt



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs