1818URL_PATTERN = r'https?://.+'
1919
2020# Defaults.
21- CARPENTRIES = ("dc" , "swc" )
21+ CARPENTRIES = ("dc" , "swc" , "lc" )
2222DEFAULT_CONTACT_EMAIL = '[email protected] ' 2323
2424USAGE = 'Usage: "workshop_check.py path/to/root/directory"'
@@ -91,7 +91,7 @@ def check_layout(layout):
9191
9292@look_for_fixme
9393def check_carpentry (layout ):
94- '''"carpentry" in YAML header must be "dc" or "swc ".'''
94+ '''"carpentry" in YAML header must be "dc", "swc", or "lc ".'''
9595
9696 return layout in CARPENTRIES
9797
@@ -117,7 +117,7 @@ def check_humandate(date):
117117 and 4-digit year. Examples include 'Feb 18-20, 2025' and 'Feb 18
118118 and 20, 2025'. It may be in languages other than English, but the
119119 month name should be kept short to aid formatting of the main
120- Software Carpentry web site.
120+ Carpentries web site.
121121 """
122122
123123 if ',' not in date :
@@ -390,7 +390,7 @@ def check_config(reporter, filename):
390390 kind )
391391
392392 carpentry = config .get ('carpentry' , None )
393- reporter .check (carpentry in ('swc' , 'dc' ),
393+ reporter .check (carpentry in ('swc' , 'dc' , 'lc' ),
394394 filename ,
395395 'Missing or unknown carpentry: {0}' ,
396396 carpentry )
0 commit comments