Move noqa comment to where the lastest flake8 likes it.
This commit is contained in:
parent
0a1ef1127f
commit
abc958b07e
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
tensor_info.append((name, list(tensor.shape), tensor_ggml_type.name))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
print(
|
print( # noqa: NP100
|
||||||
tabulate(tensor_info, headers=["name", "shape", "dtype"], tablefmt="psql")
|
tabulate(tensor_info, headers=["name", "shape", "dtype"], tablefmt="psql")
|
||||||
) # noqa: NP100
|
)
|
||||||
except NameError:
|
except NameError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue