Skip to content

Commit d2fabc9

Browse files
committed
Fix two SonarCloud warnings.
1 parent 189e47a commit d2fabc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel_tuner/utils/directives.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, directive: Directive, lang: Language):
4848
self.language = lang
4949

5050

51-
class ArraySize:
51+
class ArraySize(object):
5252
"""Size of an array"""
5353

5454
def __init__(self):
@@ -83,6 +83,7 @@ def add(self, dim: int) -> None:
8383

8484

8585
def fortran_md_size(size: ArraySize) -> list:
86+
"""Format a multidimensional size into the correct Fortran string"""
8687
md_size = list()
8788
for dim in size:
8889
md_size.append(f":{dim}")

0 commit comments

Comments
 (0)