vigna / webgraph-rs

A Rust port of the WebGraph framework
Apache License 2.0
32 stars 6 forks source link

code should be "cargo format" clean #23

Closed zacchiro closed 1 year ago

zacchiro commented 1 year ago

... and currently isn't.

We should make sure the CI bails when the code isn't "cargo format" (currently it doesn't) and have a pre-commit hook that enforces this so that we minimize the changes of reintroducing divergence in the future.

(I'm postponing this for now because a lot of development is going on in the webgraph_reader branch. When merged into master it will be a good moment to format all the code and update the CI.)

zacchiro commented 1 year ago

as of 10b28c6d7d7653442671c080a7776b1a2fe10ae1 (at least) this is fixed