license: exclude ignored files from the license check (#9578)
Previously, if you built the docs, you'd get license errors for generated .rst files. This removes them from the list of licensed files.
This commit is contained in:
parent
db98418fef
commit
ccd5a5fb7b
@ -40,7 +40,7 @@
|
||||
r'^lib/spack/env/cc$',
|
||||
|
||||
# rst files in documentation
|
||||
r'^lib/spack/docs/.*\.rst$',
|
||||
r'^lib/spack/docs/(?!command_index|spack|llnl).*\.rst$',
|
||||
r'^lib/spack/docs/.*\.py$',
|
||||
|
||||
# 2 files in external
|
||||
|
Loading…
Reference in New Issue
Block a user