minor: Add basic editorconfig and pre-commit hooks to enforce style for whitespaces (#1926)
This commit is contained in:
@@ -22,4 +22,4 @@ rand = "0.8.5"
|
||||
reqwest = { version = "0.12.8", features = ["stream"] }
|
||||
futures-util = "0.3"
|
||||
serde_json = "=1.0.1"
|
||||
pyo3 = { version = "0.22.5", features = ["extension-module"] }
|
||||
pyo3 = { version = "0.22.5", features = ["extension-module"] }
|
||||
|
||||
@@ -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