Skip to content

Commit

Permalink
fixes conf.py
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
  • Loading branch information
InvincibleRMC committed Jul 23, 2024
1 parent 0038881 commit b4f2767
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions ament_index_python/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

# -- Imports -----------------------------------------------------
from typing import Dict, List, Sequence

# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -82,7 +84,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
exclude_patterns: Sequence[str] = []

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
Expand All @@ -104,7 +106,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path: List[str] = []

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand All @@ -125,7 +127,7 @@

# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
latex_elements: Dict[str, str] = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
Expand Down
2 changes: 1 addition & 1 deletion ament_index_python/test/test_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@


def test_mypy() -> None:
rc = main(argv=['--exclude', 'test', 'docs'])
rc = main(argv=['--exclude', 'test'])
assert rc == 0, 'Found code style errors / warnings'

0 comments on commit b4f2767

Please sign in to comment.