Skip to content

Commit 26e0c98

Browse files
committed
remove unnecessary pre-commit hooks, reformat
1 parent 81f0076 commit 26e0c98

File tree

5 files changed

+5
-16
lines changed

5 files changed

+5
-16
lines changed

.github/workflows/daily.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ jobs:
3131
run: srun -p pvc-shared -w idc-beta-batch-pvc-node-12 scripts/daily.sh
3232
- name: Run pre-commit
3333
uses: pre-commit/[email protected]
34-

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ repos:
1717
- id: trailing-whitespace
1818
- id: end-of-file-fixer
1919
- id: mixed-line-ending
20-
- id: check-xml
2120
- id: check-yaml
2221
- id: check-case-conflict
23-
- id: check-toml
24-
- id: check-json
2522
- id: check-added-large-files
2623
args: ['--maxkb=800']
2724

@@ -31,11 +28,6 @@ repos:
3128
hooks:
3229
- id: isort
3330

34-
- repo: https://github.com/fsfe/reuse-tool
35-
rev: v2.1.0
36-
hooks:
37-
- id: reuse
38-
3931
- repo: https://github.com/cheshirekow/cmake-format-precommit
4032
rev: v0.6.13
4133
hooks:

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ project(
1111
VERSION 0.1
1212
DESCRIPTION "Distributed ranges tutorial")
1313

14-
15-
1614
find_package(MPI REQUIRED)
1715

1816
add_subdirectory(src)
@@ -24,9 +22,9 @@ option(ENABLE_FORMAT "Build with format library" ON)
2422
include(FetchContent)
2523

2624
FetchContent_Declare(
27-
distributed-ranges
28-
GIT_REPOSITORY https://github.com/oneapi-src/distributed-ranges.git
29-
GIT_TAG c618154a1bceda33e5d61e1536179aeaa11b68f4)
25+
distributed-ranges
26+
GIT_REPOSITORY https://github.com/oneapi-src/distributed-ranges.git
27+
GIT_TAG c618154a1bceda33e5d61e1536179aeaa11b68f4)
3028
FetchContent_MakeAvailable(distributed-ranges)
3129

3230
FetchContent_Declare(

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
pre-commit==3.4.0
5+
pre-commit==3.4.0

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if(ENABLE_CUDA)
99
add_compile_options(-fsycl-targets=nvptx64-nvidia-cuda
1010
-Wno-error=unknown-cuda-version)
1111
add_link_options(-fsycl-targets=nvptx64-nvidia-cuda
12-
-Wno-error=unknown-cuda-version)
12+
-Wno-error=unknown-cuda-version)
1313
endif()
1414

1515
add_executable(example1 example1.cpp)

0 commit comments

Comments
 (0)