1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-10 23:26:01 +02:00

3 Commits

Author SHA1 Message Date
f8a3ca9c1d chore(deps): update astral-sh/setup-uv action to v6 2025-04-24 17:49:49 +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

@ -17,7 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install uv - name: Install uv
uses: astral-sh/setup-uv@v5 uses: astral-sh/setup-uv@v6
with: with:
version: 'latest' version: 'latest'
- run: uv sync - run: uv sync

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

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