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

@@ -132,7 +132,7 @@ updates:
// cleanup reduces the max size of the depth length if exceeded. Is used after
// updates have been applied instead of adhoc, reason being its easier to prune
// at the end. (cant inline)
// at the end. (can't inline)
func (ll *linkedList) cleanup(maxChainLength int, stack *stack) {
// Reduces the max length of total linked list chain, occurs after updates
// have been implemented as updates can push length out of bounds, if

View File

@@ -328,7 +328,7 @@ func (b *Base) Process() error {
// Reverse reverses the order of orderbook items; some bid/asks are
// returned in either ascending or descending order. One bid or ask slice
// depending on whats received can be reversed. This is usually faster than
// depending on what's received can be reversed. This is usually faster than
// using a sort algorithm as the algorithm could be impeded by a worst case time
// complexity when elements are shifted as opposed to just swapping element
// values.

View File

@@ -387,7 +387,7 @@ func TestProcessOrderbook(t *testing.T) {
base.Asset = asset.Spot
err = base.Process()
if err != nil {
t.Error("unexpcted result: ", err)
t.Error("unexpected result: ", err)
}
result, err := Get("ProcessOrderbook", c, asset.Spot)
if err != nil {