Tox: Run pylint also for GPL 04/32504/3
authorVratko Polak <vrpolak@cisco.com>
Tue, 1 Jun 2021 08:29:17 +0000 (10:29 +0200)
committerVratko Polak <vrpolak@cisco.com>
Tue, 1 Jun 2021 08:29:17 +0000 (10:29 +0200)
Change-Id: Ic6c5d35dc602638b06962fcad30d8517c9553552
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/bash/entry/check/pylint.sh

index 919e140..4d8c27d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2021 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:
 # 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:
@@ -29,7 +29,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || {
     echo "Source failed." >&2
     exit 1
 }
     echo "Source failed." >&2
     exit 1
 }
-pylint_args=("--rcfile=pylint.cfg" "resources/")
+pylint_args=("--rcfile=pylint.cfg" "resources/" "GPL/")
 if pylint "${pylint_args[@]}" > "pylint.log"; then
     warn
     warn "Pylint checker: PASS"
 if pylint "${pylint_args[@]}" > "pylint.log"; then
     warn
     warn "Pylint checker: PASS"