qa/spelling: Add Codespell support (#1121)

* Add codespell support

* Fix paths

* Add HTML files to exclusion list
This commit is contained in:
Adrian Gallagher
2023-01-30 12:36:56 +11:00
committed by GitHub
parent c785ae73a7
commit a79e0d2b3e
108 changed files with 359 additions and 318 deletions

View File

@@ -1137,7 +1137,7 @@ func TestStringToStatus(t *testing.T) {
for i := range testCases {
result, _ := stringToOrderStatus(testCases[i].Case, testCases[i].Quantity)
if result != testCases[i].Result {
t.Errorf("Exepcted: %v, received: %v", testCases[i].Result, result)
t.Errorf("Expected: %v, received: %v", testCases[i].Result, result)
}
}
}

View File

@@ -186,7 +186,7 @@ type TradeHistory struct {
Trades []OrderFilledResponse `json:"trades"`
}
// IndexTicker holds indexed ticker inforamtion
// IndexTicker holds indexed ticker information
type IndexTicker struct {
Asset string `json:"asset"`
Price float64 `json:"price,string"`
@@ -633,7 +633,7 @@ type WsLoginResponse struct {
WithdrawEnabled bool `json:"withdraw_enabled"`
}
// WsNewOrderResponse returns if new_order response failes
// WsNewOrderResponse returns if new_order response fails
type WsNewOrderResponse struct {
Message string `json:"msg"`
Nonce int64 `json:"nonce"`