From a3da17b62654eef0653f01e745395c819bad38b4 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 30 Jan 2018 23:37:26 +0100 Subject: [PATCH] FEM: code formating, use a variable which is not used to get flak8 quiet --- src/Mod/Fem/femmesh/meshtools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Fem/femmesh/meshtools.py b/src/Mod/Fem/femmesh/meshtools.py index 10cdda742d..e4d116783a 100644 --- a/src/Mod/Fem/femmesh/meshtools.py +++ b/src/Mod/Fem/femmesh/meshtools.py @@ -472,6 +472,10 @@ def get_beam_normal(beam_direction, defined_angle): Dot_product_check = vector_a[0] * normal_n[0] + vector_a[1] * normal_n[1] + vector_a[2] * normal_n[2] # print(Dot_product_check) # print(normal_n) + + # dummy usage of the axis Dot_product_check to get flake8 quiet + del Dot_product_check_x, Dot_product_check_y, Dot_product_check_z, Dot_product_check, Dot_product_check_nt + return normal_n