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 committed by karlicoss
parent 118c2d4484
commit 664c40e3e8
19 changed files with 50 additions and 39 deletions

View file

@ -7,7 +7,7 @@ class Combine:
self.modules = modules
@cdf
def dataframe(self, with_temperature: bool=True) -> DataFrameT:
def dataframe(self, *, with_temperature: bool=True) -> DataFrameT:
import pandas as pd
# todo include 'source'?
df = pd.concat([m.dataframe() for m in self.modules])