From b68818d26fe77b8a22b688cc1ccfbd7371aa6af9 Mon Sep 17 00:00:00 2001 From: Pau Andrio Date: Thu, 30 May 2024 10:56:17 +0200 Subject: [PATCH] [FIX] Fix type hints in conf.py --- biobb_pmx/docs/source/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/biobb_pmx/docs/source/conf.py b/biobb_pmx/docs/source/conf.py index dd3e3b0..2734acc 100644 --- a/biobb_pmx/docs/source/conf.py +++ b/biobb_pmx/docs/source/conf.py @@ -14,6 +14,7 @@ import sys from pathlib import Path +from typing import List, Dict # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -93,7 +94,7 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = [] +exclude_patterns: List[str] = [] # The reST default role (used for this markup: `text`) to use for all # documents. @@ -227,7 +228,7 @@ def setup(app): # -- Options for LaTeX output --------------------------------------------- -latex_elements = { +latex_elements: Dict[str, str] = { # The paper size ('letterpaper' or 'a4paper'). # 'papersize': 'letterpaper',