VirtualBox

Ignore:
Timestamp:
Jun 11, 2019 11:58:28 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131247
Message:

ValKit: New pylint version - cleanup in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testbox.py

    r76886 r79087  
    9999    def __init__(self):
    100100        TestBoxInSchedGroupData.__init__(self);
    101         self.oSchedGroup        = None; # type: SchedGroupData
     101        self.oSchedGroup        = None  # type: SchedGroupData
    102102
    103103    def initFromDbRowEx(self, aoRow, oDb, tsNow = None, sPeriodBack = None):
     
    111111
    112112
    113 # pylint: disable=C0103
    114 class TestBoxData(ModelDataBase):  # pylint: disable=R0902
     113# pylint: disable=invalid-name
     114class TestBoxData(ModelDataBase):  # pylint: disable=too-many-instance-attributes
    115115    """
    116116    TestBox Data.
     
    476476            if uFam == 0xf:
    477477                if uMod < 0x10:                             return 'K8_130nm';
    478                 if uMod >= 0x60 and uMod < 0x80:            return 'K8_65nm';
     478                if 0x60 <= uMod < 0x80:                     return 'K8_65nm';
    479479                if uMod >= 0x40:                            return 'K8_90nm_AMDV';
    480480                if uMod in [0x21, 0x23, 0x2b, 0x37, 0x3f]:  return 'K8_90nm_DualCore';
     
    567567    def __init__(self):
    568568        TestBoxData.__init__(self);
    569         self.aoInSchedGroups        = [];   # type: list[TestBoxInSchedGroupData]
     569        self.aoInSchedGroups        = []    # type: list[TestBoxInSchedGroupData]
    570570
    571571    def _initExtraMembersFromDb(self, oDb, tsNow = None, sPeriodBack = None):
     
    634634        return aoNewValues;
    635635
    636     def _validateAndConvertAttribute(self, sAttr, sParam, oValue, aoNilValues, fAllowNull, oDb): # pylint: disable=R0914
     636    def _validateAndConvertAttribute(self, sAttr, sParam, oValue, aoNilValues, fAllowNull, oDb): # pylint: disable=too-many-locals
    637637        """
    638638        Validate special arrays and requirement expressions.
     
    773773                TestBoxDataEx.__init__(self);
    774774                self.tsCurrent = None;  # CURRENT_TIMESTAMP
    775                 self.oStatus   = None;  # type: TestBoxStatusData
     775                self.oStatus   = None   # type: TestBoxStatusData
    776776
    777777        from testmanager.core.testboxstatus import TestBoxStatusData;
     
    811811        return aoRows;
    812812
    813     def fetchForChangeLog(self, idTestBox, iStart, cMaxRows, tsNow): # pylint: disable=R0914
     813    def fetchForChangeLog(self, idTestBox, iStart, cMaxRows, tsNow): # pylint: disable=too-many-locals
    814814        """
    815815        Fetches change log entries for a testbox.
     
    10131013
    10141014
    1015     def updateOnSignOn(self, idTestBox, idGenTestBox, sTestBoxAddr, sOs, sOsVersion, # pylint: disable=R0913,R0914
     1015    def updateOnSignOn(self, idTestBox, idGenTestBox, sTestBoxAddr, sOs, sOsVersion, # pylint: disable=too-many-arguments,too-many-locals
    10161016                       sCpuVendor, sCpuArch, sCpuName, lCpuRevision, cCpus, fCpuHwVirt, fCpuNestedPaging, fCpu64BitGuest,
    10171017                       fChipsetIoMmu, fRawMode, cMbMemory, cMbScratch, sReport, iTestBoxScriptRev, iPythonHexVersion):
     
    11531153        except TMInFligthCollision:
    11541154            return False;
    1155         except:
    1156             raise;
    11571155        return True;
    11581156
     
    11771175#
    11781176
    1179 # pylint: disable=C0111
     1177# pylint: disable=missing-docstring
    11801178class TestBoxDataTestCase(ModelDataBaseTestCase):
    11811179    def setUp(self):
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette