Skip to content

Commit

Permalink
Move noqa comment to where the lastest flake8 likes it.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiner committed May 23, 2024
1 parent 759c4fb commit 4eaa704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions convert_grok.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ def dump_state_dict(f, ggml_type, input_dir, config):
tensor_info.append((name, list(tensor.shape), tensor_ggml_type.name))

try:
print(
print( # noqa: NP100
tabulate(tensor_info, headers=["name", "shape", "dtype"], tablefmt="psql")
) # noqa: NP100
)
except NameError:
pass

Expand Down

0 comments on commit 4eaa704

Please sign in to comment.