Skip to content

Commit

Permalink
August cleanup (#4453)
Browse files Browse the repository at this point in the history
Co-authored-by: Yohann Paris <[email protected]>
  • Loading branch information
mwdchang and YohannParis authored Aug 14, 2024
1 parent 51a6c14 commit 8b6fe87
Show file tree
Hide file tree
Showing 25 changed files with 21 additions and 865 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"

bash .husky/secretsVerification.sh
# Run the .lintstagedrc.js file
yarn lint-staged
11 changes: 9 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
module.exports = {
'!(Types.ts).{ts,vue}': () => 'yarn run format',
'*.java': () => 'npx prettier --write "**/*.java"'
// Lint then format TypeScript and Vue files
'!(Types.ts).{ts,vue}': [
'eslint --fix --cache',
'prettier --write'
],
// Format all Java files
'*.java': [
'prettier --write'
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const CalibrationOperationCiemss: Operation = {
{
type: 'policyInterventionId',
label: 'Interventions',
acceptMultiple: false,
isOptional: true
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CalibrateEnsembleCiemssOperation: Operation = {
imageUrl: calibrateEnsembleCiemss,
inputs: [
{ type: 'datasetId', label: 'Dataset' },
{ type: 'modelConfigId', label: 'Model configuration', acceptMultiple: false }
{ type: 'modelConfigId', label: 'Model configuration' }
],
outputs: [{ type: 'simulationId' }],
isRunnable: true,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const FunmanOperation: Operation = {
displayName: 'Validate configuration',
description: 'Validate configuration',
documentationUrl: DOCUMENTATION_URL,
inputs: [{ type: 'modelConfigId', label: 'Model configuration', acceptMultiple: false }],
inputs: [{ type: 'modelConfigId', label: 'Model configuration' }],
outputs: [{ type: 'funmanQueryId' }],
isRunnable: true,
action: () => {},
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8b6fe87

Please sign in to comment.