Skip to content

Commit 8e82765

Browse files
committed
minor changes
1 parent 3c5ba61 commit 8e82765

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

fastmath.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def get_njit_funcs(pkg_dir):
4141
func_name = node.name
4242
for decorator in node.decorator_list:
4343
decorator_name = None
44-
4544
if isinstance(decorator, ast.Name):
4645
# Bare decorator
4746
decorator_name = decorator.id
@@ -84,7 +83,7 @@ def check_fastmath(pkg_dir, pkg_name):
8483
msg = (
8584
"Found one or more `@njit` functions that are missing the `fastmath` flag. "
8685
)
87-
msg += f"The function(s) are:\n {missing_fastmath}\n"
86+
msg += f"The functions are:\n {missing_fastmath}\n"
8887
raise ValueError(msg)
8988

9089
return

stumpy/cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def get_njit_funcs():
4747
func_name = node.name
4848
for decorator in node.decorator_list:
4949
decorator_name = None
50-
5150
if isinstance(decorator, ast.Name):
5251
# Bare decorator
5352
decorator_name = decorator.id

0 commit comments

Comments
 (0)