diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-02-21 10:17:07 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-02-21 19:00:26 +0000 |
commit | 815cbb45dff3fd759f2bd4608bb45ee7949dfc55 (patch) | |
tree | b34f9507f1a3393f983397be1c26e28938fce1d9 /resources/libraries/bash/entry/check/new_line.sh | |
parent | 5c39563228ffed1f383a0fede55f0a33757258bd (diff) |
Tox: Add copyright year tox checker
Only added/edited files already containing copyright notice
are checked for the correct year (and only if in first 3 lines).
Change-Id: I22c057431847fda3a7dfd4577f8346fadfe4c4f6
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash/entry/check/new_line.sh')
-rw-r--r-- | resources/libraries/bash/entry/check/new_line.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/bash/entry/check/new_line.sh b/resources/libraries/bash/entry/check/new_line.sh index 49c3d65815..2e24c0256b 100644 --- a/resources/libraries/bash/entry/check/new_line.sh +++ b/resources/libraries/bash/entry/check/new_line.sh @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -13,7 +13,7 @@ set -exuo pipefail -# This file should be executed from tox, as the assumend working directory +# This file should be executed from tox, as the assumed working directory # is different from where this file is located. # This file does not have executable flag nor shebang, # to dissuade non-tox callers. |