ruff: enable FBT rules to detect boolean arguments use without kwargs
This commit is contained in:
parent
118c2d4484
commit
664c40e3e8
19 changed files with 50 additions and 39 deletions
|
@ -18,7 +18,7 @@ def getzone(dt: datetime) -> str:
|
|||
|
||||
|
||||
@pytest.mark.parametrize('fast', [False, True])
|
||||
def test_iter_tzs(fast: bool, config) -> None:
|
||||
def test_iter_tzs(*, fast: bool, config) -> None:
|
||||
# TODO hmm.. maybe need to make sure we start with empty config?
|
||||
config.time.tz.via_location.fast = fast
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue