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
|
@ -26,10 +26,11 @@ Paths = Union[Sequence[PathIsh], PathIsh]
|
|||
|
||||
DEFAULT_GLOB = '*'
|
||||
def get_files(
|
||||
pp: Paths,
|
||||
glob: str=DEFAULT_GLOB,
|
||||
sort: bool=True,
|
||||
guess_compression: bool=True,
|
||||
pp: Paths,
|
||||
glob: str=DEFAULT_GLOB,
|
||||
*,
|
||||
sort: bool=True,
|
||||
guess_compression: bool=True,
|
||||
) -> Tuple[Path, ...]:
|
||||
"""
|
||||
Helper function to avoid boilerplate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue