1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-09 22:56:01 +02:00

2 Commits

Author SHA1 Message Date
753f3340a3 renovate.json: adjust managers
We can apparently use the pep621 manager to manage uv dependencies
now. And we need to disable the pip_requirements manager so the bot
doesn't try to update our requirements.txt file (which is exported
from uv).
2025-04-01 12:55:12 +03:00
188097abe4 Revert "csv_metadata_quality/fix.py: minor logic fix"
This reverts commit b7a81b8ec73a97076a473b0cfd21bddb18af9706.
2025-03-19 16:04:12 +03:00
2 changed files with 3 additions and 3 deletions

View File

@ -389,7 +389,7 @@ def countries_match_regions(row, exclude):
# string (length would be 0).
if row[region_column_name] is not None and len(row[region_column_name]) > 0:
row[region_column_name] = (
row[region_column_name] + "||".join(missing_regions)
row[region_column_name] + "||" + "||".join(missing_regions)
)
else:
row[region_column_name] = "||".join(missing_regions)

View File

@ -3,7 +3,7 @@
"extends": [
"config:recommended"
],
"pep621": {
"enabled": false
"pip_requirements": {
"enabled": false
}
}