Re: [sympy] Re: Module debugging with pyflakes

2011-11-22 Thread Joachim Durchholz
Am 22.11.2011 01:58, schrieb Matt Habel: For example, raises needs a string that has functions in it. This doesn't register as the function being used so the import is worthless in flakes mind. Hm. Maybe the Sympy should make raises() accept lambdas. That wouldn't work for statements, but I

Re: [sympy] Re: Module debugging with pyflakes

2011-11-22 Thread Joachim Durchholz
Am 22.11.2011 01:40, schrieb Aaron Meurer: if there are for example extra imports there, then they should be removed. For what it's worth, when I tried to import Sympy into Eclipse, having an unused import warning on a module would not be uncommon. Regards, Jo -- You received this message

Re: [sympy] Re: Module debugging with pyflakes

2011-11-22 Thread Joachim Durchholz
Am 23.11.2011 01:45, schrieb Aaron Meurer: On Tue, Nov 22, 2011 at 1:37 AM, Joachim Durchholzj...@durchholz.org wrote: Am 22.11.2011 01:58, schrieb Matt Habel: For example, raises needs a string that has functions in it. This doesn't register as the function being used so the import is

[sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Matt Habel
I started working on functions and noticed it was smaller than it looked. So could I add in some other smaller modules? I'm thinking of core, assumptions, concrete, combinatorics, integrals, logic, matrices, series and printing. On Nov 21, 4:20 pm, Matt Habel habel...@gmail.com wrote: Hi there

Re: [sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Aaron Meurer
Sure, you are always welcome to do more :). Aaron Meurer On Mon, Nov 21, 2011 at 2:55 PM, Matt Habel habel...@gmail.com wrote: I started working on functions and noticed it was smaller than it looked. So could I add in some other smaller modules? I'm thinking of core, assumptions, concrete,

[sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Matt Habel
Pylint is giving me a buttload of errors that don't really seem like errors. The tests run and pass fine, so I really can't figure out what pylint is complaining about. Maybe I set it up wrong? On Nov 21, 4:54 pm, Aaron Meurer asmeu...@gmail.com wrote: The functions module is fine.  I just tried

Re: [sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Aaron Meurer
Exactly. This is why I put that warning in there. I was thinking of pylint. There's supposed to be a way to customize pylint, so that you can disable the useless warnings. Otherwise, I would just stick to pyflakes. And note that sometimes the tests will still pass, e.g., when a variable is

Re: [sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Aaron Meurer
On Mon, Nov 21, 2011 at 3:05 PM, Aaron Meurer asmeu...@gmail.com wrote: Exactly.  This is why I put that warning in there.  I was thinking of pylint.  There's supposed to be a way to customize pylint, so that you can disable the useless warnings.  Otherwise, I would just stick to pyflakes.

[sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Matt Habel
So will pyflakes be satisfactory? Or should I go the full length and use pylint on all the things? On Nov 21, 5:05 pm, Aaron Meurer asmeu...@gmail.com wrote: Exactly.  This is why I put that warning in there.  I was thinking of pylint.  There's supposed to be a way to customize pylint, so that

Re: [sympy] Re: Module debugging with pyflakes

2011-11-21 Thread krastanov.ste...@gmail.com
pyflakes is fine. Good luck with your work. On 21 November 2011 23:07, Matt Habel habel...@gmail.com wrote: So will pyflakes be satisfactory? Or should I go the full length and use pylint on all the things? On Nov 21, 5:05 pm, Aaron Meurer asmeu...@gmail.com wrote: Exactly. This is why I

[sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Matt Habel
The first one is more along the lines of what I'm asking. Lots of the test files do things intentionally to make the tests correct logically that don't line up with checking in lint or flakes. For example, raises needs a string that has functions in it. This doesn't register as the function being

Re: [sympy] Re: Module debugging with pyflakes

2011-11-21 Thread Aaron Meurer
On Mon, Nov 21, 2011 at 5:58 PM, Matt Habel habel...@gmail.com wrote: The first one is more along the lines of what I'm asking. Lots of the test files do things intentionally to make the tests correct logically that don't line up with checking in lint or flakes. For example, raises needs a