Skip to content

Commit

Permalink
exclude dir from license test
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerroth committed Apr 12, 2024
1 parent 3373331 commit b7253fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function dry_run() {
function check_license() {
folders_to_check_license="nvflare examples tests integration research"
echo "checking license header in folder: $folders_to_check_license"
(grep -r --include "*.py" --exclude-dir "*protos*" -L \
(grep -r --include "*.py" --exclude-dir "*protos*" --exclude-dir "research/fed-bpt/src/models" -L \
"\(# Copyright (c) \(2021\|2022\|2023\|2024\), NVIDIA CORPORATION. All rights reserved.\)\|\(This file is released into the public domain.\)" \
${folders_to_check_license} || true) > no_license.lst
if [ -s no_license.lst ]; then
Expand Down

0 comments on commit b7253fc

Please sign in to comment.