HomePhabricator
Diffusion Comm 1df688dc744b

[services] fix rust-pre-commit hook

Description

[services] fix rust-pre-commit hook

Summary: we add the "all" flag to format all packages and their local dependencies. we add the "check" option to run rustfmt in check mode, which ensures that the pre-commit hook fails further formatting is required.

Test Plan: tried unformatting some code in the commtest package and then committing my changes. the linter stopped me from committing the code, as expected

Reviewers: karol-bisztyga, palys-swm, jimpo

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, atul, yayabosh

Differential Revision: https://phab.comm.dev/D4423

Details

Provenance
varunAuthored on Jun 30 2022, 2:05 PM
Reviewer
tomek
Differential Revision
D4423: [services] fix rust-pre-commit hook
Parents
rCOMM4eb65acee8da: [CI] Update `android` pipeline to enable autoscaling
Branches
Unknown
Tags
Unknown