VirtualBox

Changeset 65971 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Mar 7, 2017 11:14:29 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113797
Message:

ValidationKit/bootsectors: pylint the generator script.

Location:
trunk/src/VBox/ValidationKit/bootsectors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk

    r65926 r65971  
    345345
    346346
     347#
     348# pylint
     349#
     350VBOX_VALIDATIONKIT_PYTHON_SOURCES += $(wildcard $(PATH_SUB_CURRENT)/*.py)
     351$(evalcall def_vbox_validationkit_process_python_sources)
     352
    347353include $(FILE_KBUILD_SUB_FOOTER)
    348354
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-data.py

    r65959 r65971  
    22# -*- coding: utf-8 -*-
    33# $Id$
     4# pylint: disable=invalid-name
    45
    56"""
     
    3435# Standard python imports.
    3536import os;
    36 import re;
    3737import sys;
    38 import time;
    3938
    4039# Only the main script needs to modify the path.
     
    4342sys.path.append(g_ksVmmAllDir);
    4443
    45 import IEMAllInstructionsPython as iai;
     44import IEMAllInstructionsPython as iai; # pylint: disable=import-error
     45
    4646
    4747# Python 3 hacks:
     
    339339                             key = lambda oInstr: oInstr.sMnemonic + ''.join([oOp.sType for oOp in oInstr.aoOperands])
    340340                                                                   + (oInstr.sOpcode if oInstr.sOpcode else 'zz')):
    341             if len(oInstr.aoTests) > 0:
     341            if oInstr.aoTests:
    342342                oTests = Bs3Cg1EncodedTests(oInstr);
    343343                oTests = self.addTests(oTests);
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