From 0978e5db0b27a57818fd0de7899d1513e62f7f90 Mon Sep 17 00:00:00 2001 From: Christopher Harris Date: Mon, 18 Dec 2023 23:24:36 +0000 Subject: [PATCH] ignore generated environment files for copyright check --- ci/scripts/copyright.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/copyright.py b/ci/scripts/copyright.py index 3eab43e8c9..102afbb456 100755 --- a/ci/scripts/copyright.py +++ b/ci/scripts/copyright.py @@ -48,7 +48,8 @@ re.compile(r"^[^ \/\n]*build[^ \/\n]*\/.*$"), # Ignore any build*/ folder re.compile(r"^external\/.*$"), # Ignore external re.compile(r"[^ \/\n]*docs/source/(_lib|_modules|_templates)/.*$"), - re.compile(r"PULL_REQUEST_TEMPLATE.md"), # Ignore the PR template + re.compile(r"PULL_REQUEST_TEMPLATE.md"), # Ignore the PR template, + re.compile(r"[^ \/\n]*conda/environments/.*\.yaml$"), # Ignore generated environment files ] # this will break starting at year 10000, which is probably OK :)