]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard/.pylintrc: drop xrange from the whitelist
authorKefu Chai <kchai@redhat.com>
Wed, 1 Apr 2020 12:22:21 +0000 (20:22 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Jun 2020 02:32:23 +0000 (10:32 +0800)
since dashboard is now xrange-free, there is no need to have
xrange-builtin in whitelist, moreover, in python3 the error message
cannot be emitted at seeing xrange.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0930652318f0f2bbbefbe7dd829bc914405c9013)

src/pybind/mgr/dashboard/.pylintrc

index caa510fef7f26841048019979a663dd2e06f8e44..d5a9d1f7b28e8826909e4f1d8653af34253e3289 100644 (file)
@@ -73,7 +73,6 @@ disable=import-star-module-level,
         reduce-builtin,
         standarderror-builtin,
         unicode-builtin,
-        xrange-builtin,
         coerce-method,
         delslice-method,
         getslice-method,