Skip to content

Commit

Permalink
ignore generated environment files for copyright check
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Dec 18, 2023
1 parent 4499da8 commit 0978e5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/scripts/copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 :)
Expand Down

0 comments on commit 0978e5d

Please sign in to comment.