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
|
@ -131,7 +131,7 @@ class UnconsumedError(Exception):
|
|||
|
||||
# TODO think about error policy later...
|
||||
@contextmanager
|
||||
def wrap(j, throw=True) -> Iterator[Zoomable]:
|
||||
def wrap(j, *, throw=True) -> Iterator[Zoomable]:
|
||||
w, children = _wrap(j)
|
||||
|
||||
yield w
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue