Skip to content

Commit 398ebb2

Browse files
committed
[DATALAD RUNCMD] Fix non-ambiguous typos with codespell -w
Non-ambiguous typos fixed automatically by codespell (single suggestion each): - prefic -> prefix, mutiple/muliple/mulitple -> multiple - accordlingly -> accordingly, doens't -> doesn't - calcuating -> calculating, dispite -> despite - fount -> found, acces -> access, sematic -> semantic - embeded -> embedded, incremantal -> incremental - implmeneted -> implemented, curser -> cursor - faild -> failed, Varaible -> Variable, specificed -> specified - unknow -> unknown, Internel -> Internal, trys -> tries - indentify -> identify, folowing -> following - paramenter -> parameter, openning -> opening - commments -> comments, datas -> data - caculate -> calculate, wrokspace -> workspace - build-in -> built-in, chidren -> children - suplied -> supplied, pipepline/pipline/pipleline -> pipeline - sucessfully -> successfully, updte -> update - miliseconds -> milliseconds, serverity -> severity - mintue -> minute, oeprating -> operating - Reveiw -> Review, occurence -> occurrence - envioronment -> environment, requiremnt -> requirement Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com> === Do not change lines below === { "chain": [], "cmd": "uvx codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent b0a1c84 commit 398ebb2

48 files changed

Lines changed: 78 additions & 78 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/auto-cherry-pick/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ name: "Auto Cherry Pick"
1919
description: "cherry pick commits from Pull Requests into Release branch"
2020
inputs:
2121
trigger_label_prefix:
22-
description: "The trigger label prefic"
22+
description: "The trigger label prefix"
2323
default: "needs-cherrypick-"
2424
required: false
2525
author_email:

backend/core/models/domainlayer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following rules make sure Domain Layer Entities serve its purpose
5757

5858
- Read data from platform specific table, convert and store record into one(or multiple) domain table(s)
5959
- Generate its own `Id` accordingly
60-
- Generate foreign key accordlingly
60+
- Generate foreign key accordingly
6161
- Fields conversion
6262

6363
Sample code:

backend/core/models/locking.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package models
1919

2020
import "time"
2121

22-
// LockingHistory is desgned for preventing mutiple delake instances from sharing the same database which may cause
22+
// LockingHistory is desgned for preventing multiple delake instances from sharing the same database which may cause
2323
// problems like #3537, #3466. It works by the following step:
2424
//
2525
// 1. Each devlake insert a record to this table whie `Succeeded=false`

backend/core/plugin/plugin_blueprint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ type DataSourcePluginBlueprintV200 interface {
7878
// BlueprintConnectionV200 contains the pluginName/connectionId and related Scopes,
7979

8080
// MetricPluginBlueprintV200 is similar to the DataSourcePluginBlueprintV200
81-
// but for Metric Plugin, take dora as an example, it doens't have any scope,
81+
// but for Metric Plugin, take dora as an example, it doesn't have any scope,
8282
// nor does it produce any, however, it does require other plugin to be
83-
// executed beforehand, like calcuating refdiff before it can connect PR to the
83+
// executed beforehand, like calculating refdiff before it can connect PR to the
8484
// right Deployment keep in mind it would be called IFF the plugin was enabled
8585
// for the project.
8686
type MetricPluginBlueprintV200 interface {

backend/core/plugin/plugin_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ type SubTaskMeta struct {
106106
Dependencies []*SubTaskMeta
107107
DependencyTables []string
108108
ProductTables []string
109-
ForceRunOnResume bool // Should a subtask be ran dispite it was finished before
109+
ForceRunOnResume bool // Should a subtask be ran despite it was finished before
110110
}
111111

112112
// PluginTask Implement this interface to let framework run tasks for you

backend/core/utils/network_helper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestResolvePort(t *testing.T) {
5353
}
5454
_, err = ResolvePort("", "rabbitmq")
5555
if err == nil {
56-
t.Errorf("Expected error %s, Got nil", "schema not fount")
56+
t.Errorf("Expected error %s, Got nil", "schema not found")
5757
}
5858
_, err = ResolvePort("", "")
5959
if err == nil {

backend/helpers/e2ehelper/data_flow_tester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func NewDataFlowTester(t *testing.T, pluginName string, pluginMeta plugin.Plugin
112112
cfg.Set(`DB_URL`, cfg.GetString(`E2E_DB_URL`))
113113
db, err := runner.NewGormDb(cfg, logruslog.Global)
114114
if err != nil {
115-
// if here fail with error `acces denied for user` you need to create database by your self as follow command
115+
// if here fail with error `access denied for user` you need to create database by your self as follow command
116116
// create databases lake_test;
117117
// grant all on lake_test.* to 'merico'@'%';
118118
panic(err)

backend/helpers/migrationhelper/migrationhelper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
3333
)
3434

35-
// AutoMigrateTables runs AutoMigrate for muliple tables
35+
// AutoMigrateTables runs AutoMigrate for multiple tables
3636
func AutoMigrateTables(basicRes context.BasicRes, dst ...interface{}) errors.Error {
3737
db := basicRes.GetDal()
3838
for _, entity := range dst {

backend/helpers/migrationhelper/migrationhelper_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func TestTransformTable(t *testing.T) {
132132
assert.Equal(t, dts[2].Id, "fd61a03af4f77d870fc21e05e7e80678095c92d808cfb3b5c279ee04c74aca1357ef3d346f24f386216563752b0c447a35c041e0b7143f929dc4de27742e3307")
133133
}).Return(nil).Once()
134134

135-
// for Primarykey autoincrement cheking
135+
// for Primarykey autoincrement checking
136136
mockDal.On("GetColumns", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
137137
tableName := args.Get(0).(dal.Tabler).TableName()
138138
assert.Equal(t, tableName, TestTableNameSrc)
@@ -188,7 +188,7 @@ func TestTransformTable_RollBack(t *testing.T) {
188188
assert.NotEqual(t, oldname, tmpname)
189189
}).Return(nil).Once()
190190

191-
// checking if Rename and Drop RollBack working with rigth table
191+
// checking if Rename and Drop RollBack working with right table
192192
mockDal.On("RenameTable", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
193193
tmpname, ok := args.Get(0).(string)
194194
assert.Equal(t, ok, true)
@@ -203,7 +203,7 @@ func TestTransformTable_RollBack(t *testing.T) {
203203
assert.Equal(t, oldname, TestTableNameSrc)
204204
}).Return(nil).Once()
205205

206-
// for Primarykey autoincrement cheking
206+
// for Primarykey autoincrement checking
207207
mockDal.On("GetColumns", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
208208
tableName := args.Get(0).(dal.Tabler).TableName()
209209
assert.Equal(t, tableName, TestTableNameSrc)
@@ -296,7 +296,7 @@ func TestCopyTableColumns(t *testing.T) {
296296
assert.Equal(t, dts[2].Id, "fd61a03af4f77d870fc21e05e7e80678095c92d808cfb3b5c279ee04c74aca1357ef3d346f24f386216563752b0c447a35c041e0b7143f929dc4de27742e3307")
297297
}).Return(nil).Once()
298298

299-
// for Primarykey autoincrement cheking
299+
// for Primarykey autoincrement checking
300300
mockDal.On("GetColumns", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
301301
tableName := args.Get(0).(dal.Tabler).TableName()
302302
assert.Equal(t, tableName, TestTableNameSrc)
@@ -352,7 +352,7 @@ func TestCopyTableColumns_RollBack(t *testing.T) {
352352
assert.NotEqual(t, oldname, tmpname)
353353
}).Return(nil).Once()
354354

355-
// checking if Rename and Drop RollBack working with rigth table
355+
// checking if Rename and Drop RollBack working with right table
356356
mockDal.On("RenameTable", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
357357
tmpname, ok := args.Get(0).(string)
358358
assert.Equal(t, ok, true)
@@ -367,7 +367,7 @@ func TestCopyTableColumns_RollBack(t *testing.T) {
367367
assert.Equal(t, oldname, TestTableNameSrc)
368368
}).Return(nil).Once()
369369

370-
// for Primarykey autoincrement cheking
370+
// for Primarykey autoincrement checking
371371
mockDal.On("GetColumns", mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
372372
tableName := args.Get(0).(dal.Tabler).TableName()
373373
assert.Equal(t, tableName, TestTableNameSrc)
@@ -521,7 +521,7 @@ func TestTransformColumns_RollBack(t *testing.T) {
521521
assert.NotEqual(t, columnName, tmpColumnName)
522522
}).Return(nil).Once()
523523

524-
// checking if Rename and Drop RollBack working with rigth table
524+
// checking if Rename and Drop RollBack working with right table
525525
mockDal.On("RenameColumn", mock.Anything, mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
526526
tableName, ok := args.Get(0).(string)
527527
assert.Equal(t, ok, true)
@@ -634,7 +634,7 @@ func TestChangeColumnsType_Rollback(t *testing.T) {
634634
assert.NotEqual(t, columnName, tmpColumnName)
635635
}).Return(nil).Once()
636636

637-
// checking if Rename and Drop RollBack working with rigth table
637+
// checking if Rename and Drop RollBack working with right table
638638
mockDal.On("RenameColumn", mock.Anything, mock.Anything, mock.Anything).Run(func(args mock.Arguments) {
639639
tableName, ok := args.Get(0).(string)
640640
assert.Equal(t, ok, true)

backend/helpers/pluginhelper/api/api_async_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func CreateAsyncApiClient(
122122
return nil, errors.Default.Wrap(err, "failed to create scheduler")
123123
}
124124

125-
// finally, wrap around api client with async sematic
125+
// finally, wrap around api client with async semantic
126126
return &ApiAsyncClient{
127127
apiClient,
128128
scheduler,

0 commit comments

Comments
 (0)