VirtualBox

Changeset 48511 in vbox


Ignore:
Timestamp:
Sep 17, 2013 7:27:55 PM (11 years ago)
Author:
vboxsync
Message:

Config.kmk: pylint 1.0 adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r48479 r48511  
    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.
     1700#
    16971701ifndef VBOX_PYLINT
    16981702 VBOX_PYLINT        := $(firstword $(which pylint-2.7) $(which pylint-2.6) $(which pylint2) $(which pylint))
     
    17041708 VBOX_WITH_PYLINT := 1
    17051709endif
    1706 VBOX_PYLINT_FLAGS    = --report=n --output-format=parseable --include-ids=y --persistent=n \
     1710VBOX_PYLINT_FLAGS   := --report=n \
     1711        $(if-expr defined(VBOX_WITH_PYLINT_V1_0)\
     1712          ,--msg-template='{path}:{line}: {msg_id}({obj}:{symbol}): {msg}' \
     1713          ,--output-format=msvs --include-ids=y) \
     1714        --persistent=n \
    17071715        --rcfile=$(if-expr "$(KBUILD_HOST)" == "win",nul,/dev/null) \
    17081716        --max-line-length=130 \
    17091717        --max-attributes=20 \
    1710         --max-branchs=50 \
     1718        --max-branch$(if-expr defined(VBOX_WITH_PYLINT_V1_0),e,)s=50 \
    17111719        --max-statements=100 \
    17121720        --max-returns=100 \
Note: See TracChangeset for help on using the changeset viewer.

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