minor: Add basic editorconfig and pre-commit hooks to enforce style for whitespaces (#1926)
This commit is contained in:
@@ -36,7 +36,7 @@ Usage: router [OPTIONS]
|
||||
Options:
|
||||
--host <HOST> [default: 127.0.0.1]
|
||||
--port <PORT> [default: 3001]
|
||||
--worker-urls <WORKER_URLS>
|
||||
--worker-urls <WORKER_URLS>
|
||||
--policy <POLICY> [default: round_robin] [possible values: round_robin, random]
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
@@ -82,11 +82,11 @@ $ pip install <path to wheel>
|
||||
1. Run test
|
||||
|
||||
```
|
||||
$ cargo test
|
||||
$ cargo test
|
||||
```
|
||||
|
||||
2. Run lint
|
||||
|
||||
```
|
||||
$ cargo fmt
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user