Status: Accepted Owner: ---- Labels: Type-Defect Priority-Medium EasyToFix
New issue 1456 by ondrej.certik: use pyflakes to identify simple bugs in sympy and fix them http://code.google.com/p/sympy/issues/detail?id=1456 Example: sudo apt-get install pyflakes $ pyflakes sympy/integrals/ sympy/integrals/rationaltools.py:3: 'div' imported but unused sympy/integrals/rationaltools.py:121: redefinition of unused 'symbols' from line 3 sympy/integrals/risch.py:4: 'Pow' imported but unused sympy/integrals/risch.py:5: 'Function' imported but unused sympy/integrals/risch.py:7: 'Atom' imported but unused sympy/integrals/risch.py:8: 'Integer' imported but unused sympy/integrals/deltafunctions.py:2: 'Symbol' imported but unused sympy/integrals/deltafunctions.py:2: 'S' imported but unused sympy/integrals/deltafunctions.py:2: 'Wild' imported but unused sympy/integrals/integrals.py:2: 'Pow' imported but unused sympy/integrals/integrals.py:9: 'apart' imported but unused sympy/integrals/integrals.py:10: 'limit' imported but unused sympy/integrals/integrals.py:13: 'DiracDelta' imported but unused sympy/integrals/integrals.py:13: 'Heaviside' imported but unused sympy/integrals/integrals.py:111: redefinition of unused 'limit' from line 10 sympy/integrals/__init__.py:8: 'integrate' imported but unused sympy/integrals/__init__.py:8: 'line_integrate' imported but unused sympy/integrals/__init__.py:8: 'Integral' imported but unused sympy/integrals/tests/test_rationaltools.py:4: 'log_to_atan' imported but unused sympy/integrals/tests/test_rationaltools.py:4: 'log_to_real' imported but unused sympy/integrals/tests/test_rationaltools.py:4: 'ratint_ratpart' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'cos' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'Integral' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'sympify' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'integrate' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'diff' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'pi' imported but unused sympy/integrals/tests/test_lineintegrals.py:1: 'sin' imported but unused sympy/integrals/tests/test_integrals.py:1: redefinition of unused 'atan' from line 1 sympy/integrals/tests/test_integrals.py:1: 'I' imported but unused sympy/integrals/tests/test_integrals.py:5: 'skip' imported but unused sympy/integrals/tests/test_integrals.py:5: 'XFAIL' imported but unused it finds (among other things) that the Heaviside is imported but never used, so it should be removed. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---