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

@@ -346,7 +346,7 @@ func (b *Binance) batchAggregateTrades(ctx context.Context, arg *AggregatedTrade
//
// KlinesRequestParams supports 5 parameters
// symbol: the symbol to get the kline data for
// limit: optinal
// limit: optional
// interval: the interval time for the data
// startTime: startTime filter for kline data
// endTime: endTime filter for the kline data

View File

@@ -2410,7 +2410,7 @@ func TestExecutionTypeToOrderStatus(t *testing.T) {
for i := range testCases {
result, _ := stringToOrderStatus(testCases[i].Case)
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

@@ -140,7 +140,7 @@ type OrderBook struct {
type DepthUpdateParams []struct {
PriceLevel float64
Quantity float64
ingnore []interface{}
ignore []interface{}
}
// WebsocketDepthStream is the difference for the update depth stream
@@ -894,7 +894,7 @@ type update struct {
lastUpdateID int64
}
// job defines a synchonisation job that tells a go routine to fetch an
// job defines a synchronisation job that tells a go routine to fetch an
// orderbook via the REST protocol
type job struct {
Pair currency.Pair