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
|
@ -12,7 +12,7 @@ from .logging import make_logger
|
|||
logger = make_logger(__name__, level="info")
|
||||
|
||||
|
||||
def _structure_exists(base_dir: Path, paths: Sequence[str], partial: bool = False) -> bool:
|
||||
def _structure_exists(base_dir: Path, paths: Sequence[str], *, partial: bool = False) -> bool:
|
||||
"""
|
||||
Helper function for match_structure to check if
|
||||
all subpaths exist at some base directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue