Tests/scripts/hook_validations/pack_unique_files.py
def _is_pack_file_exists(self, file_name):
        """Check if .secrets-ignore exists"""
        if not os.path.isfile(self._get_pack_file_path(file_name)):
            self._add_error('"{}" file does not exist, create one in the root of the pack'.format(file_name))
            return False

        return True
Check if .secrets-ignore exists
Check if .secrets-ignore exists
Check if . secrets - ignore exists
def _is_pack_file_exists(self, file_name):
        if not os.path.isfile(self._get_pack_file_path(file_name)):
            self._add_error('"{}" file does not exist, create one in the root of the pack'.format(file_name))
            return False
        return True
def _is_pack_file_exists ( self , file_name ) : if not os . path . isfile ( self . _get_pack_file_path ( file_name ) ) : self . _add_error ( '"{}" file does not exist, create one in the root of the pack' . format ( file_name ) ) return False return True
Check if .secrets-ignore exists
Check if . secrets - ignore exists
"""Check if .secrets-ignore exists"""
self
file_name