Re: Important RHEL5 list of real issues without quick fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just to compare a bit, my check with pylint (0.13.2) didn't find following real issues:
text.py:413: Invalid arguments to (exceptionWindow), got 1, expected 2
textw/network_text.py:238: Object (ptpaddr) has no attribute (value)
textw/network_text.py:239: Object (ptpaddr) has no attribute (value)
I don't think that it was caused by badly set environment, or not giving
some options, or use of older version (see example), so from this point
of view (real issues found), pychecker seems as a good choice.

Radek

[rvykydal@dhcp-lab-119 pylint]$ cat ./test2.py

#!/usr/bin/env pyhton

def f(a, b):
    pass

if False:
    f('a')

def g():
    v = None
    if False:
        print v.value()
[rvykydal@dhcp-lab-119 pylint]$ pychecker ./test2.py 
Processing test2...

Warnings...

test2.py:8: Invalid arguments to (f), got 1, expected 2
test2.py:13: Object (v) has no attribute (value)
[rvykydal@dhcp-lab-119 pylint]$ pylint -r n ./test2.py 
************* Module test2
C0111:  1: Missing docstring
C0103:  4:f: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$)
C0111:  4:f: Missing docstring
C0103:  4:f: Invalid name "a" (should match [a-z_][a-z0-9_]{2,30}$)
C0103:  4:f: Invalid name "b" (should match [a-z_][a-z0-9_]{2,30}$)
W0613:  4:f: Unused argument 'a'
W0613:  4:f: Unused argument 'b'
C0103: 10:g: Invalid name "g" (should match [a-z_][a-z0-9_]{2,30}$)
C0111: 10:g: Missing docstring
C0103: 11:g: Invalid name "v" (should match [a-z_][a-z0-9_]{2,30}$)
[rvykydal@dhcp-lab-119 pylint]$ rpm -qv pychecker
pychecker-0.8.17-2
[rvykydal@dhcp-lab-119 pylint]$ rpm -qv pylint
pylint-0.13.2-1.fc8

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux