Re: Left over master branch pychecker warnings

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

 



> isys/isys.py:898: Function return types are inconsistent

If this were None vs. a dict then it'd be NOTABUG as far as I'm
concerned.  The addition of whatever devices_prop_iface is means we need
to ask dcantrell.

> autopart.py:201: Using integer division (start / 1024) may return integer or float

Probably worth fixing just to be absolutely correct.

> installclass.py:60: Methods (createbug, getbug, getbugs, getversion, 
> login, query) in AbstractFiler need to be overridden in a subclass

This is by design.  The AbstractFiler's methods will never be called
since AbstractFiler.supportsFiling returns False.  NOTABUG.

> iscsi.py:319: string.atoi is deprecated
> iw/lvm_dialog_gui.py:91: Using integer division (pesize / 1024) may 
> return integer or float
> iw/lvm_dialog_gui.py:282: string.atoi is deprecated

Again, worth fixing for correctness I suppose.

> iw/partition_ui_helpers_gui.py:51: Comparisons with True are not 
> necessary and may not work as expected

I've cleaned up a bunch of these pychecker warnings in the past so it's
worth fixing this one now.

> network.py:697: Using is not , may not always work

'is not' should probably be '!=' here.

> rescue.py:82: Function return types are inconsistent
> text.py:461: Function return types are inconsistent

I think the call to OkCancelWindow here results in the return value
magically getting returned.  I know we do this sort of thing in the gui
interface (check all the *Window methods in gui.py:InstallInterface and
follow the tags).

- Chris

_______________________________________________
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