Skip to content

Commit 4eb6c52

Browse files
committed
lint
1 parent a498678 commit 4eb6c52

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

acceptance/bin/print_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def write(filename):
1313
data = open(filename).read()
14-
print(data, end='')
14+
print(data, end="")
1515
if not data.endswith("\n"):
1616
print()
1717

bundle/statemgmt/state_pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func readStates(ctx context.Context, b *bundle.Bundle, alwaysPull AlwaysPull) []
241241
}
242242
states = slices.DeleteFunc(states, func(p *StateDesc) bool { return p == nil })
243243
slices.SortStableFunc(states, func(a, b *StateDesc) int {
244-
return int(a.Serial - b.Serial)
244+
return a.Serial - b.Serial
245245
})
246246

247247
return states

cmd/bundle/deployment/migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To start using direct engine, deploy with DATABRICKS_BUNDLE_ENGINE=direct env va
9797
StateDB: dstate.DeploymentState{
9898
Path: tempStatePath,
9999
Data: dstate.Database{
100-
Serial: int(stateDesc.Serial + 1),
100+
Serial: stateDesc.Serial + 1,
101101
Lineage: stateDesc.Lineage,
102102
State: state,
103103
},

0 commit comments

Comments
 (0)