diff --git a/pyproject.toml b/pyproject.toml index 4210171..d772196 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dynamic = ["readme", "version"] [project.optional-dependencies] coverage = ["coverage==7.13.4"] -formatting = ["black==25.12.0", "isort==8.0.1"] +formatting = ["black==26.3.0", "isort==8.0.1"] linting = ["pylint==4.0.5"] spellcheck = ["codespell==2.4.2"] test_packaging = ["build==1.4.0", "twine==6.2.0"] diff --git a/src/ebd_toolchain/main.py b/src/ebd_toolchain/main.py index d4215a5..69f5e01 100644 --- a/src/ebd_toolchain/main.py +++ b/src/ebd_toolchain/main.py @@ -130,7 +130,7 @@ def main(input_path: Path, output_path: Path, export_types: list[Literal["puml", # pylint:disable=too-many-locals, too-many-branches, too-many-statements, def _main(input_path: Path, output_path: Path, export_types: list[Literal["puml", "dot", "json", "svg"]]) -> None: """same as main but without the click decorators""" - settings = Settings() # type:ignore[call-arg] + settings = Settings() # type: ignore[call-arg] # read settings from environment variable/.env file kroki_client = Kroki(kroki_host=f"http://{settings.kroki_host}:{settings.kroki_port}") if output_path.exists() and output_path.is_dir(): @@ -170,7 +170,7 @@ def handle_known_error(error: Exception, ebd_key: str, category: ErrorCategory) ebd_meta_data = EbdTableMetaData( ebd_code=ebd_key, ebd_name=ebd_kapitel.subsection_title, - chapter=ebd_kapitel.chapter_title, # type:ignore[arg-type] + chapter=ebd_kapitel.chapter_title, # type: ignore[arg-type] # pylint:disable=line-too-long section=f"{ebd_kapitel.chapter}.{ebd_kapitel.section}.{ebd_kapitel.subsection}: {ebd_kapitel.section_title}", role="N/A", @@ -183,7 +183,7 @@ def handle_known_error(error: Exception, ebd_key: str, category: ErrorCategory) docx_tables, ebd_key=ebd_key, ebd_name=ebd_kapitel.subsection_title, - chapter=ebd_kapitel.chapter_title, # type:ignore[arg-type] + chapter=ebd_kapitel.chapter_title, # type: ignore[arg-type] # pylint:disable=line-too-long section=f"{ebd_kapitel.chapter}.{ebd_kapitel.section}.{ebd_kapitel.subsection}: {ebd_kapitel.section_title}", )