..which I miss from pychecker. Both outputs below.
=================================================
# things not seen by pylint
class A:
def __init__(self, a=7):
print a
class B(A):
def __init__(self, a):
A.__init__(a)
def f(self, c):
if c:
return True
if __name__ == '__main__':
b = B()
=================================================
#RunTool Run in C:\tmp Tue Jan 10 15:30:04 2012
# Files C:\tmp\y.py
# Options -f parseable -i y -d C,R,I
# Command: "pylint" -f parseable -i y -d C,R,I C:\tmp\y.py
# thread running... (double click on result lines in order to
jump to the source code)
Report
======
12 statements analysed.
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |0 |0 |= |
+-----------+-------+---------+-----------+
|refactor |0 |0 |= |
+-----------+-------+---------+-----------+
|warning |0 |0 |= |
+-----------+-------+---------+-----------+
|error |0 |0 |= |
+-----------+-------+---------+-----------+
...
=================================================
#Pychecker Run in C:\tmp Tue Jan 10 15:30:10 2012
# Files C:\tmp\y.py
# Options -#1000
# Running... ( double click on result lines in order to jump to
the source code )
_pycheckrc_win32 _fakeBaseClasses_win32
Warnings...
C:\tmp\y.py:7: self is not first method argument
C:\tmp\y.py:11: Function returns a value and also implicitly
returns None
C:\tmp\y.py:13: Invalid arguments to (__init__), got 0, expected 1
Processing module y (y.py)...
== Pychecker run finished ==
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects