style
Style tests for easyconfig files using pycodestyle.
Authors:
- Ward Poelmans (Ghent University)
check_easyconfigs_style(easyconfigs, verbose=False)
¶
Check the given list of easyconfigs for style
| PARAMETER | DESCRIPTION |
|---|---|
easyconfigs
|
list of file paths to easyconfigs
|
verbose
|
print our statistics and be verbose about the errors and warning
DEFAULT:
|
| RETURNS | DESCRIPTION |
|---|---|
|
the number of warnings and errors |
cmdline_easyconfigs_style_check(ecs)
¶
Run easyconfigs style check of each of the specified easyconfigs, triggered from 'eb' command line
| PARAMETER | DESCRIPTION |
|---|---|
ecs
|
list of easyconfigs to check, could be either file paths or EasyConfig instances
|
| RETURNS | DESCRIPTION |
|---|---|
|
True when style check passed on all easyconfig files, False otherwise |