diff --git a/lib/buildFileList.sh b/lib/buildFileList.sh index a8452a2f..1a79a882 100755 --- a/lib/buildFileList.sh +++ b/lib/buildFileList.sh @@ -487,7 +487,7 @@ function BuildFileList() { ########################### # Get the SNAKEMAKE files # ########################### - elif [ "${FILE_TYPE}" == "smk" ]; then + elif [ "${FILE_TYPE}" == "smk" ] || [ "${BASE_FILE}" == "Snakefile" ]; then ################################ # Append the file to the array # ################################ diff --git a/lib/linter.sh b/lib/linter.sh index 64a8ed36..2a47b7cd 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -315,6 +315,7 @@ FILE_ARRAY_PYTHON_FLAKE8=() # Array of files to check FILE_ARRAY_R=() # Array of files to check FILE_ARRAY_RAKU=() # Array of files to check FILE_ARRAY_RUBY=() # Array of files to check +FILE_ARRAY_SNAKEMAKE=() # Array of files to check FILE_ARRAY_STATES=() # Array of files to check FILE_ARRAY_SQL=() # Array of files to check FILE_ARRAY_TERRAFORM=() # Array of files to check