feat: Update pre-commit-config.yaml (#667)

This commit is contained in:
Nripesh Niketan
2024-02-11 18:08:20 +04:00
committed by GitHub
parent 06072601ce
commit 0dbc4c7547
4 changed files with 14 additions and 14 deletions

View File

@@ -80,10 +80,8 @@ if __name__ == "__main__":
_filter = make_predicate(args.filter, args.negative_filter)
if args.mlx_dtypes:
compare_filtered = (
lambda x: compare_mlx_dtypes(
x.split() + rest, args.mlx_dtypes[0], args.mlx_dtypes[1]
)
compare_filtered = lambda x: (
compare_mlx_dtypes(x.split() + rest, args.mlx_dtypes[0], args.mlx_dtypes[1])
if _filter(x)
else None
)