mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 13:47:51 -06:00
fixing typo checks
CURA-10903
This commit is contained in:
parent
561a40d000
commit
bb94ce9e75
2 changed files with 2 additions and 2 deletions
|
@ -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],
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue