Skip to content

Commit edfaab2

Browse files
committed
CI: Update check_description_files hard-coding repo name check exceptions
1 parent a694f66 commit edfaab2

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

scripts/check_description_files.py

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def check_git_repository_name(extension_name, metadata):
9292

9393
repo_name = os.path.splitext(urlparse.urlsplit(metadata["scmurl"]).path.split("/")[-1])[0]
9494

95+
if repo_name in REPOSITORY_NAME_CHECK_EXCEPTIONS:
96+
return
97+
9598
if "slicer" not in repo_name.lower():
9699

97100
variations = [prefix + repo_name for prefix in ["Slicer-", "Slicer_", "SlicerExtension-", "SlicerExtension_"]]
@@ -194,5 +197,66 @@ def main():
194197
sys.exit(total_failure_count)
195198

196199

200+
REPOSITORY_NAME_CHECK_EXCEPTIONS = [
201+
"3DMetricTools",
202+
"ai-assisted-annotation-client",
203+
"aigt",
204+
"AnglePlanes-Extension",
205+
"AnomalousFiltersExtension",
206+
"BoneTextureExtension",
207+
"CarreraSlice",
208+
"ChangeTrackerPy",
209+
"CMFreg",
210+
"CurveMaker",
211+
"DatabaseInteractorExtension",
212+
"dcmqi",
213+
"DSC_Analysis",
214+
"EasyClip-Extension",
215+
"ErodeDilateLabel",
216+
"FilmDosimetryAnalysis",
217+
"GelDosimetryAnalysis",
218+
"GyroGuide",
219+
"iGyne",
220+
"ImageMaker",
221+
"IntensitySegmenter",
222+
"MeshStatisticsExtension",
223+
"MeshToLabelMap",
224+
"ModelClip",
225+
"MONAILabel",
226+
"mpReview",
227+
"NeedleFinder",
228+
"opendose3d",
229+
"OsteotomyPlanner",
230+
"PBNRR",
231+
"PedicleScrewSimulator",
232+
"PercutaneousApproachAnalysis",
233+
"PerkTutor",
234+
"PET-IndiC",
235+
"PETLiverUptakeMeasurement",
236+
"PETTumorSegmentation",
237+
"PickAndPaintExtension",
238+
"PkModeling",
239+
"PortPlacement",
240+
"Q3DCExtension",
241+
"QuantitativeReporting",
242+
"ResectionPlanner",
243+
"ScatteredTransform",
244+
"Scoliosis",
245+
"SegmentationAidedRegistration",
246+
"SegmentationReview",
247+
"SegmentRegistration",
248+
"ShapePopulationViewer",
249+
"ShapeRegressionExtension",
250+
"ShapeVariationAnalyzer",
251+
"SkullStripper",
252+
"SNRMeasurement",
253+
"SPHARM-PDM",
254+
"T1Mapping",
255+
"TCIABrowser",
256+
"ukftractography",
257+
"VASSTAlgorithms",
258+
]
259+
260+
197261
if __name__ == "__main__":
198262
main()

0 commit comments

Comments
 (0)