Skip to content

Commit

Permalink
scripts: check python commands for copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
dtebbs committed Dec 18, 2019
1 parent 29df0e8 commit b7b8387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/check_copyright
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ function check_copyright_files() {
}

if ! (git ls-files '*.py' | check_copyright_files && \
git ls-files 'pyClient/commands' | check_copyright_files && \
git ls-files 'mpc/commands' | check_copyright_files && \
git ls-files '*.hpp' '*.cpp' '*.tcc' | check_copyright_files)
then
echo "check_copyright: ERROR: the above files have missing copyright notices"
Expand Down

0 comments on commit b7b8387

Please sign in to comment.