Enable PLR in ruff
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m43s

This commit is contained in:
Alexander Hess 2026-11-28 04:57:25 +01:00
commit a24db98262
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
4 changed files with 11 additions and 6 deletions

View file

@ -254,7 +254,7 @@ class Path(meta.Base):
return points
def draw(
def draw( # noqa:PLR0913
self,
*,
reverse: bool = False,

View file

@ -40,7 +40,7 @@ class Customer(meta.Base):
"""Shortcut to the `...city.map` object."""
return self.orders[0].pickup_address.city.map
def draw( # noqa:C901
def draw( # noqa:C901,PLR0912
self,
restaurants: bool = True,
order_counts: bool = False, # pragma: no cover

View file

@ -141,7 +141,7 @@ class Pixel(meta.Base):
"""Shortcut to the `.city.map` object."""
return self.grid.city.map
def draw( # noqa:C901
def draw( # noqa:C901,PLR0912
self,
restaurants: bool = True,
order_counts: bool = False, # pragma: no cover

View file

@ -12,7 +12,7 @@ from rpy2 import robjects
from rpy2.robjects import pandas2ri
def stl( # noqa:C901
def stl( # noqa:C901,PLR0912,PLR0913,PLR0915
time_series: pd.Series,
*,
frequency: int,