mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-04 02:20:41 +08:00
Merge branch 'CURA-10903-warn-for-deleted-files' into yttr
This commit is contained in:
commit
a0b9cce569
@ -90,7 +90,7 @@ class Definition(Linter):
|
||||
|
||||
yield Diagnostic(
|
||||
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",
|
||||
level="Warning",
|
||||
offset=found.span(0)[0],
|
||||
|
@ -52,7 +52,7 @@ def main() -> None:
|
||||
if args.deleted:
|
||||
for file in args.Files:
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user