Skip to content

Commit

Permalink
Fix all workflow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 24, 2024
1 parent f14a335 commit 66ba7fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/scribe_data/check/check_query_identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ def check_query_identifiers() -> None:
if incorrect_languages or incorrect_data_types:
sys.exit(1)

else:
print("All query language and data type QIDs are correct.")


if __name__ == "__main__":
check_query_identifiers()
4 changes: 0 additions & 4 deletions src/scribe_data/resources/language_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
"iso": "bn",
"qid": "Q9610"
},
"ibibio": {
"iso": "ibb",
"qid": "Q33792"
},
"chinese": {
"sub_languages": {
"mandarin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT
?properNoun

WHERE {
?lexeme dct:language wd:Q5146 ;
?lexeme dct:language wd:Q33947 ;
wikibase:lexicalCategory wd:Q147276 ;
wikibase:lemma ?properNoun .
}
1 change: 0 additions & 1 deletion tests/load/test_update_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def test_list_all_languages():
"hausa",
"hebrew",
"hindi",
"ibibio",
"igbo",
"indonesian",
"italian",
Expand Down

0 comments on commit 66ba7fc

Please sign in to comment.