getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Tetsuo Koyama
Subject: [Getfem-commits] (no subject)
Date: Wed, 23 Oct 2019 03:09:32 -0400 (EDT)

branch: devel-tetsuo-cleanup-import
commit 73f00e3e932b6a3389ae16bb837bee0e4f647ae1
Author: Tetsuo Koyama <address@hidden>
Date:   Wed Oct 23 14:11:11 2019 +0900

    Clean up unused-import
---
 bin/rst_to_xml.py                                            | 2 --
 contrib/test_plasticity/conv_test_small_strain_plasticity.py | 2 --
 contrib/test_plasticity/test_small_strain_plasticity.py      | 1 -
 interface/tests/python/check_asm.py                          | 1 -
 interface/tests/python/check_global_functions.py             | 1 -
 interface/tests/python/check_secondary_domain.py             | 1 -
 interface/tests/python/demo_Mindlin_Reissner_plate.py        | 1 -
 interface/tests/python/demo_crack.py                         | 1 -
 interface/tests/python/demo_cracked_thermo_elastic_body.py   | 1 -
 interface/tests/python/demo_dynamic_contact_1D.py            | 2 +-
 interface/tests/python/demo_phase_field.py                   | 2 +-
 interface/tests/python/demo_unit_disk.py                     | 1 -
 interface/tests/python/getfem_tvtk.py                        | 2 --
 13 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/bin/rst_to_xml.py b/bin/rst_to_xml.py
index e35d94b..9ad23c4 100755
--- a/bin/rst_to_xml.py
+++ b/bin/rst_to_xml.py
@@ -24,10 +24,8 @@
 
   $Id: extract_doc 3304 2009-11-03 13:17:46Z renard $
 """
-import re
 import string
 import os
-import textwrap
 import sys
 
 class ParseError(Exception):
diff --git a/contrib/test_plasticity/conv_test_small_strain_plasticity.py 
b/contrib/test_plasticity/conv_test_small_strain_plasticity.py
index d8e6359..e84941f 100644
--- a/contrib/test_plasticity/conv_test_small_strain_plasticity.py
+++ b/contrib/test_plasticity/conv_test_small_strain_plasticity.py
@@ -27,10 +27,8 @@
 
 import getfem as gf
 import numpy as np
-import time
 import matplotlib.pyplot as plt
 import os
-import sys
 
 NT = 128; NX = 256; option = 3; Hi = 0; Hk = 0; load_type = 1; theta = 0.5;
 LX=100.; order = 2; do_export = 1;
diff --git a/contrib/test_plasticity/test_small_strain_plasticity.py 
b/contrib/test_plasticity/test_small_strain_plasticity.py
index b39e415..880c891 100644
--- a/contrib/test_plasticity/test_small_strain_plasticity.py
+++ b/contrib/test_plasticity/test_small_strain_plasticity.py
@@ -27,7 +27,6 @@
 
 import getfem as gf
 import numpy as np
-import time
 import matplotlib.pyplot as plt
 import os
 import sys
diff --git a/interface/tests/python/check_asm.py 
b/interface/tests/python/check_asm.py
index d0972c5..c7cca8c 100644
--- a/interface/tests/python/check_asm.py
+++ b/interface/tests/python/check_asm.py
@@ -29,7 +29,6 @@
 """
 import numpy as np
 import getfem as gf
-import os
 
 
 NX = 4
diff --git a/interface/tests/python/check_global_functions.py 
b/interface/tests/python/check_global_functions.py
index 4e90f1b..277784d 100644
--- a/interface/tests/python/check_global_functions.py
+++ b/interface/tests/python/check_global_functions.py
@@ -26,7 +26,6 @@
 
   $Id$
 """
-import numpy as np
 import getfem as gf
 import os
 
diff --git a/interface/tests/python/check_secondary_domain.py 
b/interface/tests/python/check_secondary_domain.py
index 28ee9dd..cebb819 100644
--- a/interface/tests/python/check_secondary_domain.py
+++ b/interface/tests/python/check_secondary_domain.py
@@ -29,7 +29,6 @@
 """
 import numpy as np
 import getfem as gf
-import os
 
 
 NX = 4
diff --git a/interface/tests/python/demo_Mindlin_Reissner_plate.py 
b/interface/tests/python/demo_Mindlin_Reissner_plate.py
index 309fdf5..ffd3790 100644
--- a/interface/tests/python/demo_Mindlin_Reissner_plate.py
+++ b/interface/tests/python/demo_Mindlin_Reissner_plate.py
@@ -28,7 +28,6 @@
 """
 import numpy as np
 import getfem as gf
-import os
 
 ## Parameters
 Emodulus = 1.          # Young Modulus
diff --git a/interface/tests/python/demo_crack.py 
b/interface/tests/python/demo_crack.py
index 8388d2f..7a91b19 100644
--- a/interface/tests/python/demo_crack.py
+++ b/interface/tests/python/demo_crack.py
@@ -36,7 +36,6 @@ else:
   print("module getfem not found!")
 
 import numpy as np
-import math
 
 variant = 4
 # variant : 1 : a single crack with cutoff enrichement
diff --git a/interface/tests/python/demo_cracked_thermo_elastic_body.py 
b/interface/tests/python/demo_cracked_thermo_elastic_body.py
index 8789b42..dc4be68 100644
--- a/interface/tests/python/demo_cracked_thermo_elastic_body.py
+++ b/interface/tests/python/demo_cracked_thermo_elastic_body.py
@@ -27,7 +27,6 @@
   $Id$
 """
 import numpy as np
-import math
 import getfem as gf
 
 np.set_printoptions(threshold=np.nan)
diff --git a/interface/tests/python/demo_dynamic_contact_1D.py 
b/interface/tests/python/demo_dynamic_contact_1D.py
index ee34110..16fc8f2 100644
--- a/interface/tests/python/demo_dynamic_contact_1D.py
+++ b/interface/tests/python/demo_dynamic_contact_1D.py
@@ -30,7 +30,7 @@
 import getfem as gf
 import numpy as np
 import matplotlib.pyplot as plt
-import time, os, sys
+import os, sys
 
 # Numerical parameters
 NX = 20               # Number of elements
diff --git a/interface/tests/python/demo_phase_field.py 
b/interface/tests/python/demo_phase_field.py
index c74ec26..9bd14fa 100644
--- a/interface/tests/python/demo_phase_field.py
+++ b/interface/tests/python/demo_phase_field.py
@@ -22,7 +22,7 @@
 
 import getfem as gf
 import numpy as np
-import os, sys
+import os
 
 np.set_printoptions(threshold=np.nan)
 gf.util_trace_level(1)
diff --git a/interface/tests/python/demo_unit_disk.py 
b/interface/tests/python/demo_unit_disk.py
index 26c8c2f..0d973f8 100644
--- a/interface/tests/python/demo_unit_disk.py
+++ b/interface/tests/python/demo_unit_disk.py
@@ -29,7 +29,6 @@
 """
 # Import basic modules
 import getfem as gf
-import numpy as np
 
 ## Parameters
 h = 0.1 # approximate diameter of the elements.
diff --git a/interface/tests/python/getfem_tvtk.py 
b/interface/tests/python/getfem_tvtk.py
index 3c17071..2989bcd 100644
--- a/interface/tests/python/getfem_tvtk.py
+++ b/interface/tests/python/getfem_tvtk.py
@@ -36,11 +36,9 @@ except:
     print("   ( https://svn.enthought.com/enthought/wiki/TVTK ) **\n\n")
     raise
 
-import os
 import sys
 import getfem
 import numpy
-import scipy
 
 def gf_colormap(name):
     if name == 'tripod':



reply via email to

[Prev in Thread] Current Thread [Next in Thread]