ruff: enable FBT rules to detect boolean arguments use without kwargs

This commit is contained in:
Dima Gerasimov 2024-08-27 23:37:17 +01:00
parent 7eef1f9fc2
commit dc0726c347
19 changed files with 50 additions and 39 deletions

View file

@ -44,7 +44,7 @@ def workouts() -> Iterable[Res[Workout]]:
from .core.pandas import check_dataframe, DataFrameT
@check_dataframe
def dataframe(defensive: bool=True) -> DataFrameT:
def dataframe(*, defensive: bool=True) -> DataFrameT:
def it():
for w in workouts():
if isinstance(w, Exception):