VirtualBox

Changeset 48581 in vbox


Ignore:
Timestamp:
Sep 20, 2013 12:35:56 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89141
Message:

Config.kmk: VBOX_WITH_PYLINT_V1_0 -> VBOX_WITH_PYLINT_PRE_V1_0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r48513 r48581  
    16951695# Note! Yes, --max-branchs is a typo, but not by me.
    16961696#
    1697 # Note! Users of pylint 1.0 and later needs to define VBOX_WITH_PYLINT_V1_0 in
    1698 #       LocalConfig because they changed the output arguments in an
    1699 #       backwards incomaptible way.
     1697# Note! Users of older pylint release (< 1.0) needs to define
     1698#       VBOX_WITH_PYLINT_PRE_V1_0 in LocalConfig because they changed the
     1699#        output arguments in an backwards incompatible way and added more
     1700#       attribute regex options.
    17001701#
    17011702ifndef VBOX_PYLINT
     
    17091710endif
    17101711VBOX_PYLINT_FLAGS   := --report=n \
    1711         $(if-expr defined(VBOX_WITH_PYLINT_V1_0)\
     1712        $(if-expr !defined(VBOX_WITH_PYLINT_PRE_V1_0)\
    17121713          ,--msg-template='{path}:{line}: {msg_id}({obj}:{symbol}): {msg}' \
    17131714          ,--output-format=msvs --include-ids=y) \
     
    17161717        --max-line-length=130 \
    17171718        --max-attributes=20 \
    1718         --max-branch$(if-expr defined(VBOX_WITH_PYLINT_V1_0),e,)s=50 \
     1719        --max-branch$(if-expr !defined(VBOX_WITH_PYLINT_PRE_V1_0),e,)s=50 \
    17191720        --max-statements=100 \
    17201721        --max-returns=100 \
     
    17331734        --const-rgx='(g_(k|)[abcdefhmnpilorstu]+[A-Z][a-zA-Z0-9]+|[A-Z_][A-Z0-9_]+|__copyright__|__version__|__file__|__all__)$(DOLLAR)' \
    17341735        --good-names='i,j,k,t,o,c,e,_' \
    1735         $(if-expr defined(VBOX_WITH_PYLINT_V1_0),--class-attribute-rgx='(k[abcdefhmnpilorstu]+[A-Z0-9][a-zA-Z0-9_]{0,32}|[A-Z_][A-Z0-9_]{2,32})',) \
     1736        $(if-expr !defined(VBOX_WITH_PYLINT_PRE_V1_0),--class-attribute-rgx='(k[abcdefhmnpilorstu]+[A-Z0-9][a-zA-Z0-9_]{0,32}|[A-Z_][A-Z0-9_]{2,32})',) \
    17361737        --disable=W0301,W0511,W0603,W0702,W0703,C0321,R0201,I0011 \
    17371738        --ignored-classes=testdriver.vboxcon \
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