Closed vpoulailleau closed 11 months ago
Here is a sample code that triggers DCO010 for overloads:
from typing import overload @overload def factorial(n: int) -> int: ... @overload def factorial(n: float) -> float: ... def factorial(n): """Return the factorial of n.""" ...
More on this: https://docs.astral.sh/ruff/rules/overload-with-docstring/
Here is a sample code that triggers DCO010 for overloads:
More on this: https://docs.astral.sh/ruff/rules/overload-with-docstring/