Add lint scripts to scripts/ and update CI by camille-004 · Pull Request #50 · NVIDIA/cutile-python · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 81 additions & 4 deletions .github/workflows/ci.yml
12 changes: 12 additions & 0 deletions scripts/check_license.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) <2025> NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0

ignore_files=("src/cuda/tile/VERSION")
outputs=$(reuse lint --lines | grep -v ${ignore_files[@]/#/-e })
if [ -n "$outputs" ]; then
echo -e "License check failed\n${outputs}"
exit 1
fi

76 changes: 76 additions & 0 deletions scripts/cpplint.py