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] authored and ManasviGoyal committed Jan 19, 2024
1 parent 8c886b8 commit 282445a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dev/generate-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from collections import OrderedDict
from itertools import product

import yaml
import numpy as np
import yaml
from numpy import uint8 # noqa: F401 (used in evaluated strings)

CURRENT_DIR = os.path.dirname(os.path.realpath(__file__))
Expand Down Expand Up @@ -226,6 +226,7 @@ def checkuint(test_args, args):
flag = False
return flag


def checkintrange(test_args, args):
flag = True
for arg, val in test_args:
Expand Down Expand Up @@ -907,9 +908,7 @@ def gencudaunittests(specdict):
).typename
)
if "List" not in typename:
f.write(
" " * 4 + arg + " = " + str(val) + "\n"
)
f.write(" " * 4 + arg + " = " + str(val) + "\n")
if "List" in typename:
count = typename.count("List")
typename = gettypename(typename)
Expand Down

0 comments on commit 282445a

Please sign in to comment.