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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions src/ebd_toolchain/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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",
Expand All @@ -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}",
)
Expand Down