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

@@ -652,7 +652,7 @@ func (db *DBService) createSQLiteDataHistoryJobResponse(result *sqlite3.Datahist
if err != nil {
return nil, err
}
te, err := time.Parse(time.RFC3339, result.EndTime)
tEnd, err := time.Parse(time.RFC3339, result.EndTime)
if err != nil {
return nil, err
}
@@ -709,7 +709,7 @@ func (db *DBService) createSQLiteDataHistoryJobResponse(result *sqlite3.Datahist
Base: result.Base,
Quote: result.Quote,
StartDate: ts,
EndDate: te,
EndDate: tEnd,
Interval: int64(result.Interval),
RequestSizeLimit: int64(result.RequestSize),
DataType: int64(result.DataType),

View File

@@ -209,7 +209,7 @@ func tradeSQLTester(t *testing.T) {
t.Error(err)
}
if len(v) != 0 {
t.Errorf("should all be ded %v", v)
t.Errorf("should all be dead %v", v)
}
}