From 7cb2fcad27e966003da06f333b98b1933cb03773 Mon Sep 17 00:00:00 2001 From: Daniel Juenger <2955913+sleeepyjack@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:22:16 +0000 Subject: [PATCH] Remove unused pre-commit script --- ci/pre-commit/style.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 ci/pre-commit/style.sh diff --git a/ci/pre-commit/style.sh b/ci/pre-commit/style.sh deleted file mode 100755 index 0434db369..000000000 --- a/ci/pre-commit/style.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2023, NVIDIA CORPORATION. -############################## -# cuCollections Style Tester # -############################## - -# Ignore errors and set path -set +e -PATH=/conda/bin:$PATH -# LC_ALL=C.UTF-8 -# LANG=C.UTF-8 - -# Activate common conda env -. /opt/conda/etc/profile.d/conda.sh -conda activate rapids - -# Run clang-format and check for a consistent code format -CLANG_FORMAT=`pre-commit run clang-format --all-files 2>&1` -CLANG_FORMAT_RETVAL=$? - -# Run doxygen check -DOXYGEN_CHECK=`.github/ci/pre-commit/doxygen.sh` -DOXYGEN_CHECK_RETVAL=$? - -echo -e "$DOXYGEN_CHECK" - -RETVALS=( - $CLANG_FORMAT_RETVAL -) -IFS=$'\n' -RETVAL=`echo "${RETVALS[*]}" | sort -nr | head -n1` - -exit $RETVAL