def default_validator(self, filepath):
        """
        The default validator only accepts files ending in .py
        (and not prefixed by a period).
        """
        return filepath.endswith('.py') and \
            not os.path.basename(filepath).startswith('.')
The default validator only accepts files ending in .py
        (and not prefixed by a period).