From 5ed9b54c3ad1cbc9a6175143e33dbc90d7c1818c Mon Sep 17 00:00:00 2001 From: Szymon Palucha Date: Thu, 3 Oct 2024 16:03:27 +0100 Subject: [PATCH] version: bump black version --- kazu/ontology_preprocessing/base.py | 8 +++++--- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/kazu/ontology_preprocessing/base.py b/kazu/ontology_preprocessing/base.py index 9277bbee..b30062ce 100644 --- a/kazu/ontology_preprocessing/base.py +++ b/kazu/ontology_preprocessing/base.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index ab447f3a..416554be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",