1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-06-06 09:08:40 +02:00

3 Commits

Author SHA1 Message Date
bb8ed7338d chore(deps): update dependency ipython to v9 2025-05-31 17:04:46 +00:00
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
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -49,7 +49,7 @@ dev = [
"pytest~=8.3", "pytest~=8.3",
"isort~=6.0", "isort~=6.0",
"csvkit~=2.0", "csvkit~=2.0",
"ipython~=8.31", "ipython~=9.3",
] ]
# So hatch doesn't try to build other top-level directories like "data" # So hatch doesn't try to build other top-level directories like "data"

View File

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