From 0ba15d1dda7403d64434d2a349be71572a9b8192 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 21 Jul 2016 17:11:55 +0100 Subject: [PATCH] Made import * into explicits for PML update functions. --- gprMax/pml.py | 4 ++-- setup.cfg | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gprMax/pml.py b/gprMax/pml.py index 8911f37d..6c91140f 100644 --- a/gprMax/pml.py +++ b/gprMax/pml.py @@ -19,8 +19,8 @@ import numpy as np from gprMax.constants import e0, z0, floattype -from gprMax.pml_1order_update import * -from gprMax.pml_2order_update import * +from gprMax.pml_1order_update import update_pml_1order_ey_xminus, update_pml_1order_ez_xminus, update_pml_1order_ey_xplus, update_pml_1order_ez_xplus, update_pml_1order_ex_yminus, update_pml_1order_ez_yminus, update_pml_1order_ex_yplus, update_pml_1order_ez_yplus, update_pml_1order_ex_zminus, update_pml_1order_ey_zminus, update_pml_1order_ex_zplus, update_pml_1order_ey_zplus, update_pml_1order_hy_xminus, update_pml_1order_hz_xminus, update_pml_1order_hy_xplus, update_pml_1order_hz_xplus, update_pml_1order_hx_yminus, update_pml_1order_hz_yminus, update_pml_1order_hx_yplus, update_pml_1order_hz_yplus, update_pml_1order_hx_zminus, update_pml_1order_hy_zminus, update_pml_1order_hx_zplus, update_pml_1order_hy_zplus +from gprMax.pml_2order_update import update_pml_2order_ey_xminus, update_pml_2order_ez_xminus, update_pml_2order_ey_xplus, update_pml_2order_ez_xplus, update_pml_2order_ex_yminus, update_pml_2order_ez_yminus, update_pml_2order_ex_yplus, update_pml_2order_ez_yplus, update_pml_2order_ex_zminus, update_pml_2order_ey_zminus, update_pml_2order_ex_zplus, update_pml_2order_ey_zplus, update_pml_2order_hy_xminus, update_pml_2order_hz_xminus, update_pml_2order_hy_xplus, update_pml_2order_hz_xplus, update_pml_2order_hx_yminus, update_pml_2order_hz_yminus, update_pml_2order_hx_yplus, update_pml_2order_hz_yplus, update_pml_2order_hx_zminus, update_pml_2order_hy_zminus, update_pml_2order_hx_zplus, update_pml_2order_hy_zplus class CFSParameter(object): diff --git a/setup.cfg b/setup.cfg index b47b8267..72626231 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ [flake8] max-line-length = 200 -ignore = E501, F401, F403, F999 \ No newline at end of file + +# E501, line too long +# F401, module imported but unused +ignore = E501, F401 \ No newline at end of file