-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyproject(ruff): Support pydocstyle w/ numpy convention (#891)
See also: - https://www.pydocstyle.org/en/stable/ - https://docs.astral.sh/ruff/settings/#pydocstyle
- Loading branch information
Showing
97 changed files
with
617 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
""" | ||
sphinxcontrib.aafig | ||
~~~~~~~~~~~~~~~~~~~ | ||
"""aafig plugin for sphinx. | ||
sphinxcontrib.aafig. | ||
~~~~~~~~~~~~~~~~~~~ | ||
Allow embedded ASCII art to be rendered as nice looking images | ||
using the aafigure reStructuredText extension. | ||
Allow embedded ASCII art to be rendered as nice looking images | ||
using the aafigure reStructuredText extension. | ||
See the README file for details. | ||
See the README file for details. | ||
:author: Leandro Lucarella <[email protected]> | ||
:license: BOLA, see LICENSE for details | ||
:author: Leandro Lucarella <[email protected]> | ||
:license: BOLA, see LICENSE for details | ||
""" | ||
import logging | ||
import posixpath | ||
|
@@ -61,9 +62,7 @@ class AafigError(SphinxError): | |
|
||
|
||
class AafigDirective(images.Image): # type:ignore | ||
""" | ||
Directive to insert an ASCII art figure to be rendered by aafigure. | ||
""" | ||
"""Directive to insert an ASCII art figure to be rendered by aafigure.""" | ||
|
||
has_content = True | ||
required_arguments = 0 | ||
|
@@ -155,10 +154,7 @@ def __init__(self, *args: object, **kwargs: object) -> None: | |
def render_aafigure( | ||
app: "Sphinx", text: str, options: t.Dict[str, str] | ||
) -> t.Tuple[str, str, t.Optional[str], t.Optional[str]]: | ||
""" | ||
Render an ASCII art figure into the requested format output file. | ||
""" | ||
|
||
"""Render an ASCII art figure into the requested format output file.""" | ||
if aafigure is None: | ||
raise AafigureNotInstalled() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""Metadata for tmuxp package.""" | ||
__title__ = "tmuxp" | ||
__package_name__ = "tmuxp" | ||
__version__ = "1.32.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.