From be734e6745b1252f81d9a2c63611ddbac77bd09b Mon Sep 17 00:00:00 2001 From: ratiud Date: Sun, 12 Jan 2025 20:52:58 +0100 Subject: [PATCH] safety: cleanup code to get green linters --- .../com.fasten.safety.bayesian_network.mpl | 5 +- ....fasten.safety.bayesian_network.editor.mps | 1 - ...com.fasten.safety.fmea.iso26262.editor.mps | 1 - .../com.fasten.safety.fmea.mpl | 4 +- .../models/com.fasten.safety.fmea.editor.mps | 1 - ...om.fasten.safety.hiphops.arch.behavior.mps | 54 ++++++++++++++++--- ...eddr.formal.safety.argument.modelquery.mpl | 1 - ...rmal.safety.argument.modelquery.editor.mps | 1 - ...r.formal.safety.argument.visualisation.mpl | 3 +- ...l.safety.argument.visualisation.editor.mps | 1 - ....mbeddr.formal.safety.gsn.ext.behavior.mps | 1 - .../com.mbeddr.formal.safety.iso26262.mpl | 4 +- ...m.mbeddr.formal.safety.iso26262.editor.mps | 1 - ...sten.safety.hiphops.sandbox._010_smoke.mps | 44 +++++++-------- ...y.doc2word._100_gsn_documents_testdata.mps | 2 +- 15 files changed, 74 insertions(+), 50 deletions(-) diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/com.fasten.safety.bayesian_network.mpl b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/com.fasten.safety.bayesian_network.mpl index fd2f668c..bcb7f826 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/com.fasten.safety.bayesian_network.mpl +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/com.fasten.safety.bayesian_network.mpl @@ -1,7 +1,7 @@ - + @@ -12,10 +12,10 @@ - 83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) 792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core) + 1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor) @@ -62,7 +62,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/models/com.fasten.safety.bayesian_network.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/models/com.fasten.safety.bayesian_network.editor.mps index 967c5cd7..55388b0a 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/models/com.fasten.safety.bayesian_network.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.bayesian_network/models/com.fasten.safety.bayesian_network.editor.mps @@ -9,7 +9,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea.iso26262/models/com.fasten.safety.fmea.iso26262.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea.iso26262/models/com.fasten.safety.fmea.iso26262.editor.mps index 2313f41c..6e74ce3e 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea.iso26262/models/com.fasten.safety.fmea.iso26262.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea.iso26262/models/com.fasten.safety.fmea.iso26262.editor.mps @@ -3,7 +3,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/com.fasten.safety.fmea.mpl b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/com.fasten.safety.fmea.mpl index 4a53f517..9d664400 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/com.fasten.safety.fmea.mpl +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/com.fasten.safety.fmea.mpl @@ -1,7 +1,7 @@ - + @@ -13,7 +13,6 @@ 92d2ea16-5a42-4fdf-a676-c7604efe3504(de.slisson.mps.richtext) - 83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base) 792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core) @@ -60,7 +59,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/models/com.fasten.safety.fmea.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/models/com.fasten.safety.fmea.editor.mps index 0e0f546e..aacd0813 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/models/com.fasten.safety.fmea.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.fmea/models/com.fasten.safety.fmea.editor.mps @@ -10,7 +10,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.hiphops.arch/models/com.fasten.safety.hiphops.arch.behavior.mps b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.hiphops.arch/models/com.fasten.safety.hiphops.arch.behavior.mps index ab9a239a..a641a250 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.hiphops.arch/models/com.fasten.safety.hiphops.arch.behavior.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.fasten.safety.hiphops.arch/models/com.fasten.safety.hiphops.arch.behavior.mps @@ -16,6 +16,7 @@ + @@ -41,6 +42,9 @@ + + + @@ -113,12 +117,6 @@ - - - - - - @@ -240,6 +238,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/com.mbeddr.formal.safety.argument.modelquery.mpl b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/com.mbeddr.formal.safety.argument.modelquery.mpl index de09622b..cbd97b75 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/com.mbeddr.formal.safety.argument.modelquery.mpl +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/com.mbeddr.formal.safety.argument.modelquery.mpl @@ -83,7 +83,6 @@ e8a04d94-4307-4f88-95a2-25f7c4f39437(com.mbeddr.formal.safety.gsn) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) - 83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base) f3061a53-9226-4cc5-a443-f952ceaf5816(jetbrains.mps.baseLanguage) 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/models/com.mbeddr.formal.safety.argument.modelquery.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/models/com.mbeddr.formal.safety.argument.modelquery.editor.mps index 04c01d8a..7e8d14e5 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/models/com.mbeddr.formal.safety.argument.modelquery.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.modelquery/models/com.mbeddr.formal.safety.argument.modelquery.editor.mps @@ -7,7 +7,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/com.mbeddr.formal.safety.argument.visualisation.mpl b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/com.mbeddr.formal.safety.argument.visualisation.mpl index bd2a7445..9fe23eee 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/com.mbeddr.formal.safety.argument.visualisation.mpl +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/com.mbeddr.formal.safety.argument.visualisation.mpl @@ -1,7 +1,7 @@ - + @@ -13,7 +13,6 @@ e8a04d94-4307-4f88-95a2-25f7c4f39437(com.mbeddr.formal.safety.gsn) - 83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) 56f134c7-a829-428d-9119-715369c69768(org.mpsqa.treemap.lib) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/models/com.mbeddr.formal.safety.argument.visualisation.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/models/com.mbeddr.formal.safety.argument.visualisation.editor.mps index d81636e7..23b6f8cd 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/models/com.mbeddr.formal.safety.argument.visualisation.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.argument.visualisation/models/com.mbeddr.formal.safety.argument.visualisation.editor.mps @@ -8,7 +8,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.gsn.ext/models/com.mbeddr.formal.safety.gsn.ext.behavior.mps b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.gsn.ext/models/com.mbeddr.formal.safety.gsn.ext.behavior.mps index f87cc029..9dbcff6a 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.gsn.ext/models/com.mbeddr.formal.safety.gsn.ext.behavior.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.gsn.ext/models/com.mbeddr.formal.safety.gsn.ext.behavior.mps @@ -14,7 +14,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/com.mbeddr.formal.safety.iso26262.mpl b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/com.mbeddr.formal.safety.iso26262.mpl index e6fd48b5..6c0cd8c6 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/com.mbeddr.formal.safety.iso26262.mpl +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/com.mbeddr.formal.safety.iso26262.mpl @@ -1,7 +1,7 @@ - + @@ -13,7 +13,6 @@ 17da266c-02d9-4bbd-b69b-8a656b49f45c(com.mbeddr.formal.safety.hara) - 83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base) c7fb639f-be78-4307-89b0-b5959c3fa8c8(jetbrains.mps.lang.text) 792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core) @@ -64,7 +63,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/models/com.mbeddr.formal.safety.iso26262.editor.mps b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/models/com.mbeddr.formal.safety.iso26262.editor.mps index b175b3b2..f73d8548 100644 --- a/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/models/com.mbeddr.formal.safety.iso26262.editor.mps +++ b/code/languages/com.mbeddr.formal.safety/languages/com.mbeddr.formal.safety.iso26262/models/com.mbeddr.formal.safety.iso26262.editor.mps @@ -9,7 +9,6 @@ - diff --git a/code/languages/com.mbeddr.formal.safety/solutions/com.fasten.safety.hiphops.sandbox/models/com.fasten.safety.hiphops.sandbox._010_smoke.mps b/code/languages/com.mbeddr.formal.safety/solutions/com.fasten.safety.hiphops.sandbox/models/com.fasten.safety.hiphops.sandbox._010_smoke.mps index d78d39f7..8580ca59 100644 --- a/code/languages/com.mbeddr.formal.safety/solutions/com.fasten.safety.hiphops.sandbox/models/com.fasten.safety.hiphops.sandbox._010_smoke.mps +++ b/code/languages/com.mbeddr.formal.safety/solutions/com.fasten.safety.hiphops.sandbox/models/com.fasten.safety.hiphops.sandbox._010_smoke.mps @@ -1125,7 +1125,7 @@ - + @@ -1143,7 +1143,7 @@ - + @@ -1161,7 +1161,7 @@ - + @@ -1178,21 +1178,13 @@ - - + + - - - - - - - - @@ -1201,7 +1193,7 @@ - + @@ -1218,21 +1210,13 @@ - - + + - - - - - - - - @@ -1261,6 +1245,18 @@ + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.formal.safety/tests/test.com.fasten.safety.doc2word/models/test.com.fasten.safety.doc2word._100_gsn_documents_testdata.mps b/code/languages/com.mbeddr.formal.safety/tests/test.com.fasten.safety.doc2word/models/test.com.fasten.safety.doc2word._100_gsn_documents_testdata.mps index 77ce281b..d7e39270 100644 --- a/code/languages/com.mbeddr.formal.safety/tests/test.com.fasten.safety.doc2word/models/test.com.fasten.safety.doc2word._100_gsn_documents_testdata.mps +++ b/code/languages/com.mbeddr.formal.safety/tests/test.com.fasten.safety.doc2word/models/test.com.fasten.safety.doc2word._100_gsn_documents_testdata.mps @@ -221,7 +221,7 @@ - +