Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@ classifiers = [
dependencies = [
"emoji==2.15.0",
"mwparserfromhell==0.7.2",
"orjson==3.11.8",
"orjson==3.11.9",
"packaging==26.2",
"pyyaml==6.0.3",
"questionary==2.1.1",
"requests==2.33.1",
"requests==2.34.2",
"rich==15.0.0",
"sparqlwrapper==2.0.0",
"tqdm==4.67.3",
]

[project.optional-dependencies]
dev = [
"prek>=0.3.11",
"prek>=0.4.0",
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
"ruff>=0.15.12",
"ruff>=0.15.13",
"setuptools>=82.0.1",
"ty>=0.0.34",
"ty>=0.0.37",
]
docs = [
# Keep docs dependencies formatted in this way with ruff to allow for upgrades via VS Code extension.
Expand Down
3 changes: 2 additions & 1 deletion src/scribe_data/cli/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def check_wd_dump_exists(target_entity: str) -> Optional[str]:

except requests.exceptions.HTTPError as http_err:
print(
f"HTTP error occurred: {http_err} Status code: {http_err.response.status_code}"
f"HTTP error occurred: {http_err} Status code: "
f"{http_err.response.status_code if http_err.response else 'Unknown'}"
)
print("We could not find your requested Wikidata lexeme dump.")

Expand Down
Loading
Loading