addons/*.py: formatting.

[ci skip]
This commit is contained in:
XhmikosR 2016-07-25 19:03:44 +03:00
parent ef694e9ca5
commit f232f342e7
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ class Token:
isArithmeticalOp Is this token a arithmetic operator isArithmeticalOp Is this token a arithmetic operator
isAssignmentOp Is this token a assignment operator isAssignmentOp Is this token a assignment operator
isComparisonOp Is this token a comparison operator isComparisonOp Is this token a comparison operator
isLogicalOp Is this token a logical operator: && || isLogicalOp Is this token a logical operator: && ||
varId varId for token, each variable has a unique non-zero id varId varId for token, each variable has a unique non-zero id
variable Variable information for this token. See the Variable class. variable Variable information for this token. See the Variable class.
function If this token points at a function call, this attribute has the Function function If this token points at a function call, this attribute has the Function
@ -353,7 +353,7 @@ class ValueFlow:
class Value: class Value:
""" """
Value class Value class
Attributes: Attributes:
intvalue integer value intvalue integer value
tokvalue token value tokvalue token value
@ -394,7 +394,7 @@ class Configuration:
scopes List of Scope items scopes List of Scope items
functions List of Function items functions List of Function items
variables List of Variable items variables List of Variable items
valueflow List of ValueFlow values valueflow List of ValueFlow values
""" """
name = '' name = ''

View File

@ -259,7 +259,7 @@ for dumpfile in dumpfiles:
# warn about _TIME_BITS not being defined # warn about _TIME_BITS not being defined
if time_bits_defined == False: if time_bits_defined == False:
reportDirDiag(args.template, reportDirDiag(args.template,
cfg, srcfile, srclinenr, directive, 'warning', cfg, srcfile, srclinenr, directive, 'warning',
'_USE_TIME_BITS64 is defined but _TIME_BITS was not') '_USE_TIME_BITS64 is defined but _TIME_BITS was not')
elif re_undef_use_time_bits64.match(directive.str): elif re_undef_use_time_bits64.match(directive.str):
unsafe = int(srclinenr) unsafe = int(srclinenr)