From 1b0f51c0fb2fe6823ad0301d1b2e7c0dd18b88fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atamert=20=C3=96l=C3=A7gen?= Date: Mon, 23 Nov 2020 12:23:42 +0300 Subject: [PATCH] Ignore warning related to Blender reloading. --- meshstats/__init__.py | 2 +- meshstats/mesh.py | 2 +- meshstats/overlay.py | 2 +- meshstats/ui.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meshstats/__init__.py b/meshstats/__init__.py index d5f3091..ad9d163 100644 --- a/meshstats/__init__.py +++ b/meshstats/__init__.py @@ -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 diff --git a/meshstats/mesh.py b/meshstats/mesh.py index e2170e1..ee4741a 100644 --- a/meshstats/mesh.py +++ b/meshstats/mesh.py @@ -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 diff --git a/meshstats/overlay.py b/meshstats/overlay.py index b4c7a2b..d260fe1 100644 --- a/meshstats/overlay.py +++ b/meshstats/overlay.py @@ -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 diff --git a/meshstats/ui.py b/meshstats/ui.py index 635aac8..fe39ffd 100644 --- a/meshstats/ui.py +++ b/meshstats/ui.py @@ -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