ruff: enable FBT rules to detect boolean arguments use without kwargs
This commit is contained in:
parent
7eef1f9fc2
commit
dc0726c347
19 changed files with 50 additions and 39 deletions
|
@ -174,7 +174,7 @@ def hhmm(time: datetime):
|
|||
# return fromstart / tick
|
||||
|
||||
|
||||
def plot_one(sleep: SleepEntry, fig, axes, xlims=None, showtext=True):
|
||||
def plot_one(sleep: SleepEntry, fig, axes, xlims=None, *, showtext=True):
|
||||
import matplotlib.dates as mdates # type: ignore[import-not-found]
|
||||
|
||||
span = sleep.completed - sleep.created
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue