CMS 3D CMS Logo

Functions | Variables
commentSkipper.commentSkipper Namespace Reference

Functions

def filter (fileList)
 

Variables

 __author__
 
 __date__
 
 buildfilesCommentFiles
 
 cppCommentFiles
 

Function Documentation

◆ filter()

def commentSkipper.commentSkipper.filter (   fileList)

Definition at line 12 of file commentSkipper.py.

12 def filter(fileList):
13 
14  if not fileList: return fileList
15  head, tail = os.path.split(fileList[0])
16  root, ext = os.path.splitext(tail)
17 
18  if (tail.lower() in buildfilesCommentFiles):
19  fileList = buildFileCommentSkipper.filterFiles(fileList)
20  elif (ext.lower() in cppCommentFiles):
21  fileList = cppCommentSkipper.filterFiles(fileList)
22  return fileList

Variable Documentation

◆ __author__

commentSkipper.commentSkipper.__author__
private

Definition at line 2 of file commentSkipper.py.

◆ __date__

commentSkipper.commentSkipper.__date__
private

Definition at line 3 of file commentSkipper.py.

◆ buildfilesCommentFiles

commentSkipper.commentSkipper.buildfilesCommentFiles

Definition at line 10 of file commentSkipper.py.

◆ cppCommentFiles

commentSkipper.commentSkipper.cppCommentFiles

Definition at line 9 of file commentSkipper.py.

commentSkipper.commentSkipper.filter
def filter(fileList)
Definition: commentSkipper.py:12