mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-05-11 07:36:01 +02:00
Compare commits
3 Commits
ec95f69074
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
f8a3ca9c1d | |||
753f3340a3
|
|||
188097abe4
|
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
"pep621": {
|
"pip_requirements": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user