Skip to content

Commit e80ddff

Browse files
committed
Ignore .git in license testing
It might happen that there's a .py file in some ref under .git with invalid license. Signed-off-by: Babis Chalios <[email protected]>
1 parent 972428d commit e80ddff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/style/test_licenses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
ALIBABA_COPYRIGHT = "Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved."
2424
ALIBABA_LICENSE = "SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause"
2525

26-
EXCLUDE = ["build", ".kernel"]
26+
EXCLUDE = ["build", ".kernel", ".git"]
2727

2828

2929
def _has_amazon_copyright(string):

0 commit comments

Comments
 (0)