Module check

Module check 

Source
Expand description

Structs and functions to organize and perform lint checks.

Structsยง

LintCheckIter
An iterator over the variants of LintCheck

Enumsยง

LintCheck
The linting checks that are currently supported.

Functionsยง

code_results_dir_regex ๐Ÿ”’
Check that the directories under the code and results follow the correct style.
code_results_subdir_pairing ๐Ÿ”’
Check that every subdirectory within code has a corresponding subdirectory in results and vice versa.
dir_exists
Check that a required directory exists.
directory_walker ๐Ÿ”’
A helper function to set up a directory walker within a given directory.
file_exists
Check that a required file exists.
subdir_readmes ๐Ÿ”’
Check for the presence of README files within each subdirectory of a root directory.
subdir_workflows ๐Ÿ”’
Check for the presence of workflow files within each code subdirectory.