Skip to content

Commit

Permalink
make MegaLinter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
robmeth committed Aug 20, 2024
1 parent 118ffae commit 50c5d4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export class TTSLPythonGenerator {
return expandTracedToNode(funct)`def ${traceToNode(
funct,
'name',
)(this.getPythonNameOrDefault(funct))}(${this.generateFunctionParameter(funct, infoFrame)}${this.generateParameters(funct.parameterList, infoFrame)}):`
)(this.getPythonNameOrDefault(funct))}(${this.generateFunctionParameter(funct)}${this.generateParameters(funct.parameterList, infoFrame)}):`
.appendNewLine()
.indent({ indentedChildren: [this.generateFunctionBlock(funct.body, infoFrame, funct.timeunit)], indentation: PYTHON_INDENT });
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ttsl-lang/src/language/ttsl-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const TTSLModule: Module<TTSLServices, PartialLangiumServices & TTSLAdded
ScopeProvider: (services) => new TTSLScopeProvider(services),
},
types: {
TypeChecker: (services) => new TTSLTypeChecker(services),
TypeChecker: (services) => new TTSLTypeChecker(),
TypeComputer: (services) => new TTSLTypeComputer(services),
},
workspace: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const registerValidationChecks = function (services: TTSLServices) {
],
TslAssignment: [
assignmentAssigneeMustGetValue(services),
assignmentShouldNotImplicitlyIgnoreResult(services),
assignmentShouldNotImplicitlyIgnoreResult(),
],
TslAbstractCall: [
argumentListMustNotHaveTooManyArguments(services),
Expand Down

0 comments on commit 50c5d4e

Please sign in to comment.