Skip to content

Commit

Permalink
Fix black and isort messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarqu committed Dec 9, 2024
1 parent 1bb44ef commit 82282c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sample-docs/kitchen-sink/all_in_one_restructuredtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# - add example of numpy-style docstrings

import abc
from typing import final, TypeAlias, TypeVar

from typing import TypeAlias, TypeVar, final

ParameterT = TypeVar("ParameterT") #: Docstring of type ParameterT

Expand Down Expand Up @@ -147,7 +146,9 @@ def __init__(self):
"""Initialize the :py:class:`AllInOne` class."""
pass

def my_method(self, my_param: ParameterT = "default_value", /, *, keyword_only_param=None) -> ReturnT:
def my_method(
self, my_param: ParameterT = "default_value", /, *, keyword_only_param=None
) -> ReturnT:
"""A normal method.
We are using both positional-only and keyword-only syntax.
Expand Down

0 comments on commit 82282c6

Please sign in to comment.