Open wholtz opened 2 years ago
Hi. I'm trying to get a WDL 1.0 file to pass the wdlTools linter. I cannot figure out what changes I need to make in order to pass rule P004.
This small reproduction passes wdltools check ... and has been formatted by wdltools format ...:
wdltools check ...
wdltools format ...
version 1.0 workflow lint_test { input { String message } call my_task { input: message = message } } task my_task { input { String message } command <<< printf 'The message is: %s\n' "~{message}" >>> output { String formatted = stdout() } runtime { docker: "debian:bullesye-slim" } }
$ wdltools lint lint_test.wdl ============================== Lint in lint_test.wdl ============================== Line:Col | Rule | Description ------------------------------ 1:11-2:3 | P004 | A top-level element is indented 12:1-13:3| P004 | A top-level element is indented $ wdltools --version wdlTools 0.17.7 $ java --version openjdk 18 2022-03-22 OpenJDK Runtime Environment (build 18+36-2087) OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing) $
Any suggestions would be appreciated. Thanks!
Hi. I'm trying to get a WDL 1.0 file to pass the wdlTools linter. I cannot figure out what changes I need to make in order to pass rule P004.
This small reproduction passes
wdltools check ...
and has been formatted bywdltools format ...
:Any suggestions would be appreciated. Thanks!