Skip to content

Commit

Permalink
Ignore warning related to Blender reloading.
Browse files Browse the repository at this point in the history
  • Loading branch information
muhuk committed Nov 23, 2020
1 parent 0aeac7d commit 1b0f51c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion meshstats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

if "bpy" in locals():
import importlib
for mod in [icon, mesh, overlay, props, ui]:
for mod in [icon, mesh, overlay, props, ui]: # noqa: F821
importlib.reload(mod)
else:
import bpy
Expand Down
2 changes: 1 addition & 1 deletion meshstats/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

if "bpy" in locals():
import importlib
for mod in [meshstats_context, face, pole]:
for mod in [meshstats_context, face, pole]: # noqa: F821
importlib.reload(mod)
else:
# stdlib
Expand Down
2 changes: 1 addition & 1 deletion meshstats/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

if "bpy" in locals():
import importlib
for mod in [constants, face, mesh, pole]:
for mod in [constants, face, mesh, pole]: # noqa: F821
importlib.reload(mod)
else:
# stdlib
Expand Down
2 changes: 1 addition & 1 deletion meshstats/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

if "bpy" in locals():
import importlib
for mod in [meshstats_context, icon, mesh]:
for mod in [meshstats_context, icon, mesh]: # noqa: F821
importlib.reload(mod)
else:
import bpy
Expand Down

0 comments on commit 1b0f51c

Please sign in to comment.