Skip to content

Commit

Permalink
Updating lesson checker to include Library Carpentry values
Browse files Browse the repository at this point in the history
  • Loading branch information
gvwilson committed Oct 8, 2016
1 parent 3293c26 commit 2acc4f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lesson_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ def check_config(reporter, source_dir):
config_file = os.path.join(source_dir, '_config.yml')
config = load_yaml(config_file)
reporter.check_field(config_file, 'configuration', config, 'kind', 'lesson')
reporter.check_field(config_file, 'configuration', config, 'carpentry', ('swc', 'dc'))
reporter.check_field(config_file, 'configuration', config, 'carpentry', ('swc', 'dc', 'lc'))
reporter.check_field(config_file, 'configuration', config, 'title')
reporter.check_field(config_file, 'configuration', config, 'email')
reporter.check_field(config_file, 'configuration', config, 'contact')

reporter.check({'values': {'root': '..'}} in config.get('defaults', []),
'configuration',
Expand Down

0 comments on commit 2acc4f2

Please sign in to comment.