Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Lock <5 dependent sphinx extension versions #119

Merged
merged 1 commit into from
Aug 7, 2024
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
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
Loading