From a12abe2da40f70321df7c8c7291dddf82bf08606 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Sun, 11 Dec 2016 14:56:34 -0500 Subject: [PATCH] add xrange as a valid built-in in landscape --- .landscape.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.landscape.yml b/.landscape.yml index fb73e980..fa58ebd1 100644 --- a/.landscape.yml +++ b/.landscape.yml @@ -3,5 +3,10 @@ pylint: # We use this a lot (e.g. via document._meta) - protected-access + additional-builtins: + # add xrange as a valid built-in. In Python 3, xrange is translated + # into range via 2to3 (see "use_2to3" in setup.py). + - xrange + ignore-paths: - benchmark.py