1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-07-03 21:13:28 +02:00

Strip filename descriptions before checking
Some checks failed
continuous-integration/drone/push Build is failing

When checking for uncommon file extensions in the filename field
we should strip descriptions that are meant for SAF Bundler, for
example: Annual_Report_2020.pdf__description:Report. This ends up
as a false positive that spams the output with warnings.
This commit is contained in:
2023-02-13 10:59:14 +03:00
parent bde38e9ed4
commit 8bc4cd419c
2 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,8 @@ because it is deprecated and outdated
- Don't run `fix.separators()` on title or abstract fields
- Don't run whitespace or newline fixes on abstract fields
- Ignore some common non-SPDX licenses
- Ignore `__description` suffix in filenames meant for SAFBuilder when checking
for uncommon file extensions
### Updated
- Python dependencies