Skip to content

Commit

Permalink
version: bump black version
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Palucha committed Oct 3, 2024
1 parent 0590d5d commit 5ed9b54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions kazu/ontology_preprocessing/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,11 @@ def _export_linking_candidates(self, parser_name: str) -> set[LinkingCandidate]:
return linking_candidates

@kazu_disk_cache.memoize(ignore={0})
def _populate_databases(
self, parser_name: str
) -> tuple[Optional[list[OntologyStringResource]], OntologyMetadata, set[LinkingCandidate],]:
def _populate_databases(self, parser_name: str) -> tuple[
Optional[list[OntologyStringResource]],
OntologyMetadata,
set[LinkingCandidate],
]:
"""Disk cacheable method that populates all databases.
:param parser_name: name of this parser. Required for correct operation of cache
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ all-steps = [
]
dev = [
"kazu[webserver,typed,model-training,all-steps,model-training,llm]",
"black~=22.0",
"black~=24.0",
"blacken-docs",
"flake8",
"mypy",
Expand Down

0 comments on commit 5ed9b54

Please sign in to comment.