Ignore .git in license testing
It might happen that there's a .py file in some ref under .git with
invalid license.
@@ -23,7 +23,7 @@ TUNTAP_LICENSE = (
ALIBABA_COPYRIGHT = "Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved."
ALIBABA_LICENSE = "SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause"
-EXCLUDE = ["build", ".kernel"]
+EXCLUDE = ["build", ".kernel", ".git"]
def _has_amazon_copyright(string):
