Skip to content

Commit

Permalink
docs: Lock <5 dependent sphinx extension versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder1 committed Aug 7, 2024
1 parent a0d5d1f commit d1cbe80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,17 @@ dependencies = [
[project.optional-dependencies]
docs = [
"enum-tools",
"sphinx",
"sphinx>=4.0.0,<5",
"sphinx-autobuild",
"sphinx-toolbox",
"sphinxcontrib_trio",
"sphinxext-opengraph",
"sphinx-book-theme==0.3.3",
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
]
dev = [
"mypy>=0.982,<2",
Expand Down
10 changes: 5 additions & 5 deletions table2ascii/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class FooterColumnCountMismatchError(ColumnCountMismatchError):
This class is a subclass of :class:`ColumnCountMismatchError`.
Attributes:
footer (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
footer (:class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]):
The footer that caused the error
expected_columns (:class:`int`): The number of columns that were expected
"""
Expand All @@ -64,10 +64,10 @@ class BodyColumnCountMismatchError(ColumnCountMismatchError):
This class is a subclass of :class:`ColumnCountMismatchError`.
Attributes:
body (:class:`Sequence <collections.abc.Sequence>`\ [\ :class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]]):
body (:class:`Sequence <collections.abc.Sequence>` [ :class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]]):
The body that caused the error
expected_columns (:class:`int`): The number of columns that were expected
first_invalid_row (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
first_invalid_row (:class:`Sequence <collections.abc.Sequence>` [:class:`SupportsStr`]):
The first row with an invalid column count
"""

Expand All @@ -93,7 +93,7 @@ class AlignmentCountMismatchError(ColumnCountMismatchError):
This class is a subclass of :class:`ColumnCountMismatchError`.
Attributes:
alignments (:class:`Sequence <collections.abc.Sequence>`\ [:class:`Alignment`]):
alignments (:class:`Sequence <collections.abc.Sequence>` [:class:`Alignment`]):
The alignments that caused the error
expected_columns (:class:`int`): The number of columns that were expected
"""
Expand All @@ -117,7 +117,7 @@ class ColumnWidthsCountMismatchError(ColumnCountMismatchError):
This class is a subclass of :class:`ColumnCountMismatchError`.
Attributes:
column_widths (:class:`Sequence <collections.abc.Sequence>`\ [:data:`Optional <typing.Optional>`\ [:class:`int`]]):
column_widths (:class:`Sequence <collections.abc.Sequence>` [:data:`Optional <typing.Optional>` [:class:`int`]]):
The column widths that caused the error
expected_columns (:class:`int`): The number of columns that were expected
"""
Expand Down

0 comments on commit d1cbe80

Please sign in to comment.