changeset 2031:f7cb365ee169

flake8: register 'xrange' as a builtins For some reason, flake8 thinks is is undefined.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Mar 2017 19:28:52 +0100
parents 3e8fcf47fb1e
children dd7e092a854a
files setup.cfg
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/setup.cfg	Thu Mar 02 19:28:12 2017 +0100
+++ b/setup.cfg	Thu Mar 02 19:28:52 2017 +0100
@@ -24,4 +24,5 @@
          N801,
          # line break occurred before a binary operator
          W503
+builtins=xrange