fixing typo checks

CURA-10903
This commit is contained in:
Saumya Jain 2024-04-09 11:37:42 +02:00
parent 561a40d000
commit bb94ce9e75
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ class Definition(Linter):
yield Diagnostic( yield Diagnostic(
file=self._file, file=self._file,
diagnostic_name="diagnostic-definition-redundant-override", diagnostic_name="diagnostic-material-temperature-defined",
message=f"Overriding {key} as it belongs to material temperature catagory and shouldn't be placed in machine definitions", message=f"Overriding {key} as it belongs to material temperature catagory and shouldn't be placed in machine definitions",
level="Warning", level="Warning",
offset=found.span(0)[0], offset=found.span(0)[0],

View file

@ -52,7 +52,7 @@ def main() -> None:
if args.deleted: if args.deleted:
for file in args.Files: for file in args.Files:
deletedFiles = diagnoseIssuesWithFile(file, settings ) deletedFiles = diagnoseIssuesWithFile(file, settings )
comments_check["GitComment"].extend([d.toDict() for d in deletedFiles]) comments_check["Git Comment"].extend([d.toDict() for d in deletedFiles])
results = yaml.dump(comments_check, default_flow_style=False, indent=4, width=240) results = yaml.dump(comments_check, default_flow_style=False, indent=4, width=240)