Get ready for release 2.9.7

Some of the many lint things. Linting is kind of stupid though.
This commit is contained in:
rocky
2016-12-04 07:31:34 -05:00
parent 9cc2700160
commit d22931cb49
18 changed files with 134 additions and 32 deletions

View File

@@ -641,6 +641,7 @@ class SourceWalker(GenericASTTraversal, object):
})
FSTRING_CONVERSION_MAP = {1: '!s', 2: '!r', 3: '!a'}
def f_conversion(node):
node.conversion = FSTRING_CONVERSION_MAP.get(node.data[1].attr, '')
@@ -897,7 +898,6 @@ class SourceWalker(GenericASTTraversal, object):
pass
self.write(')')
def n_LOAD_CONST(self, node):
data = node.pattr; datatype = type(data)
if isinstance(datatype, int) and data == minint: