]> 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, 7 Apr 2020 12:33:47 +0000 (20:33 +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>
src/pybind/mgr/dashboard/.pylintrc

index 5cec25f4ce4069da324bf983980fdb43a2f12799..404a16a2e6fa9a269ad2e869527c93f69158c77e 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,