What is Scribes using for checking python syntax? There are some minor inconsistencies.

Asked by Noe Nieto on 2011-03-02

Scribes 0.4-dev-build899

Sometimes the python syntax checker reports Invalid Syntax Errors where there's apparently nothing wrong.

Some other times, the syntax checker complaints about using super() on old-style classes, but I know that the superclass i'm using is a new-style class, but it's defined in another module (which i'm importing). I'm working on projects with buildout, so the PYTHONPATH is not standard.

So. What does Scribes use for python syntax checking?
How do I adjust it's behavior?
Does it takes the PYTHONPATH in account?

Question information

Language:
English Edit question
Status:
Solved
For:
Scribes Edit question
Assignee:
No assignee Edit question
Solved by:
Noe Nieto
Solved:
2011-03-02
Last query:
2011-03-02
Last reply:
Mystilleef (mystilleef) said : #1

Press Shift+F2 to turn off error checking. Syntax checking is always on.

It use pylint, pychecker and pyflakes for error checking.

Noe Nieto (tzicatl) said : #2

Syntax checking is a great feature. It saves me a lot of time running the whole app just to find a very silly syntax errror.
So I usually let it on.

I'll look into pylint, pychecker and pyflakes to see what are they capable of.

Thanks.