flake8: register 'xrange' as a builtins
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 02 Mar 2017 19:28:52 +0100
changeset 2031 f7cb365ee169
parent 2030 3e8fcf47fb1e
child 2032 dd7e092a854a
flake8: register 'xrange' as a builtins For some reason, flake8 thinks is is undefined.
setup.cfg
--- 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