Author: bugman Date: Mon Oct 5 15:50:13 2015 New Revision: 27995 URL: http://svn.gna.org/viewcvs/relax?rev=27995&view=rev Log: Added a workaround or hack for exceptions for circular imports in the find_unused_imports.py script.
This is currently for the test_suite.unit_tests._lib.test___init__ and test_suite.unit_tests._lib._geometry.test___init__ modules. Modified: trunk/devel_scripts/find_unused_imports.py Modified: trunk/devel_scripts/find_unused_imports.py URL: http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/find_unused_imports.py?rev=27995&r1=27994&r2=27995&view=diff ============================================================================== --- trunk/devel_scripts/find_unused_imports.py (original) +++ trunk/devel_scripts/find_unused_imports.py Mon Oct 5 15:50:13 2015 @@ -62,6 +62,10 @@ 'test_suite/unit_tests/_lib/_geometry/test_rotations.py': ['axis_angle_to_euler_xyx', 'axis_angle_to_euler_xyz', 'axis_angle_to_euler_xzx', 'axis_angle_to_euler_xzy', 'axis_angle_to_euler_yxy', 'axis_angle_to_euler_yxz', 'axis_angle_to_euler_yzx', 'axis_angle_to_euler_yzy', 'axis_angle_to_euler_zxy', 'axis_angle_to_euler_zxz', 'axis_angle_to_euler_zyx', 'axis_angle_to_euler_zyz', 'euler_to_axis_angle_xyx', 'euler_to_axis_angle_xyz', 'euler_to_axis_angle_xzx', 'euler_to_axis_angle_xzy', 'euler_to_axis_angle_yxy', 'euler_to_axis_angle_yxz', 'euler_to_axis_angle_yzx', 'euler_to_axis_angle_yzy', 'euler_to_axis_angle_zxy', 'euler_to_axis_angle_zxz', 'euler_to_axis_angle_zyx', 'euler_to_axis_angle_zyz', 'euler_to_R_xyx', 'euler_to_R_xyz', 'euler_to_R_xzx', 'euler_to_R_xzy', 'euler_to_R_yxy', 'euler_to_R_yxz', 'euler_to_R_yzx', 'euler_to_R_yzy', 'euler_to_R_zxy', 'euler_to_R_zxz', 'euler_to_R_zyx', 'euler_to_R_zyz', 'R_to_euler_xyx', 'R_to_euler_xyz', 'R_to_euler_xzx', 'R_to_euler_xzy', 'R_to_euler_yxy', 'R_to_euler_yxz', 'R_to_euler_yzx', 'R_to_euler_yzy', 'R_to_euler_zxy', 'R_to_euler_zxz', 'R_to_euler_zyx', 'R_to_euler_zyz'], 'test_suite/unit_tests/_lib/test_regex.py': ['regex'] } + +# Hacks for circular imports - these should rather be fixed. +EXCEPTIONS['test_suite/unit_tests/_lib/test___init__.py'] = EXCEPTIONS['test_suite/unit_tests/_lib/_geometry/test_rotations.py'] +EXCEPTIONS['test_suite/unit_tests/_lib/_geometry/test___init__.py'] = EXCEPTIONS['test_suite/unit_tests/_lib/_geometry/test_rotations.py'] # The directory to use. _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits