Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 20, 2024
1 parent 2fdbb2a commit 095a2ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/generate-kernel-signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,10 @@ def by_signature(cuda_kernel_templates):
special = [repr(spec["name"])]
[type_to_pytype(x["type"], special) for x in childfunc["args"]]
dirlist = [repr(x["dir"]) for x in childfunc["args"]]
ispointerlist = [repr("List" in x["type"] or 'ListArray-at' == x.get('role', None)) for x in childfunc["args"]]
ispointerlist = [
repr("List" in x["type"] or "ListArray-at" == x.get("role", None))
for x in childfunc["args"]
]
if spec["name"] in cuda_kernels_impl:
with open(
os.path.join(
Expand Down

0 comments on commit 095a2ed

Please sign in to comment.