Repository: numpy/numpy
File: numpy/ma/core.pyi (Python)

Code before:
        out: _ArrayType,
        keepdims: bool | _NoValueType = ...,
    ) -> _ArrayType: ...
    @overload
    def argmax(  # type: ignore[override]
        self,
        axis: SupportsIndex | None,
        fill_value: _ScalarLike_co | None,
        out: _ArrayType,
        *,
        keepdims: bool | _NoValueType = ...,
    ) -> _ArrayType: ...

    #
    def sort(
        self,
        axis: SupportsIndex | None = None,
        kind: _SortKind | None = None,
        order: str | Sequence[str] | None = None,
        endwith: bool | None = None,
        fill_value: _ScalarLike_co | None = None,
        *,
        stable: bool | None = None,
    ) -> None: ...
    @overload
    def min(  # type: ignore[override]
        self: _MaskedArray[_SCT],
        axis: None = None,
        out: None = None,
        fill_value: _ScalarLike_co | None = None,
        keepdims: Literal[False] | _NoValueType = ...,
    ) -> _SCT: ...
    @overload
    def min(  # type: ignore[override]
        self,
        axis: _ShapeLike | None = None,
        out: None = None,
        fill_value: _ScalarLike_co | None = None,
        keepdims: bool | _NoValueType = ...
    ) -> Any: ...
    @overload
    def min(  # type: ignore[override]
        self,
        axis: _ShapeLike | None,
        out: _ArrayType,
        fill_value: _ScalarLike_co | None = None,
        keepdims: bool | _NoValueType = ...,
    ) -> _ArrayType: ...
    @overload
    def min(  # type: ignore[override]
        self,

Review comment (suggestion):
I tend to give the overloaded methods some additional breathing room to avoid it from getting to sweaty in there.

```suggestion
    ) -> None: ...

    #
```

The added `#` prevents `ruff format` from squishing them back together. I suppose you could think of it as an aura, barbed wire, or the Coulomb force, or BO.

Code after:
        fill_value: _ScalarLike_co | None = None,
        *,
        out: _ArrayType,
        keepdims: bool | _NoValueType = ...,
    ) -> _ArrayType: ...
    @overload
    def argmax(  # type: ignore[override]
        self,
        axis: SupportsIndex | None,
        fill_value: _ScalarLike_co | None,
        out: _ArrayType,
        *,
        keepdims: bool | _NoValueType = ...,
    ) -> _ArrayType: ...

    #
    def sort(
        self,
        axis: SupportsIndex = -1,
        kind: _SortKind | None = None,
        order: str | Sequence[str] | None = None,
        endwith: bool | None = True,
        fill_value: _ScalarLike_co | None = None,
        *,
        stable: Literal[False] | None = False,
    ) -> None: ...

    # 
    @overload
    def min(  # type: ignore[override]
        self: _MaskedArray[_SCT],
        axis: None = None,
        out: None = None,
        fill_value: _ScalarLike_co | None = None,
        keepdims: Literal[False] | _NoValueType = ...,
    ) -> _SCT: ...
    @overload
    def min(  # type: ignore[override]
        self,
        axis: _ShapeLike | None = None,
        out: None = None,
        fill_value: _ScalarLike_co | None = None,
        keepdims: bool | _NoValueType = ...
    ) -> Any: ...
    @overload
    def min(  # type: ignore[override]
        self,
        axis: _ShapeLike | None,
        out: _ArrayType,
        fill_value: _ScalarLike_co | None = None,
        keepdims: bool | _NoValueType = ...,