summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorAngus Lees <gus@inodes.org>2015-06-04 12:55:02 +1000
committerAngus Lees <gus@inodes.org>2015-06-04 13:10:44 +1000
commitd00bd978f849df6d8f6f40dbc75b5b3fbdd610ea (patch)
treef6ebfff19b42208e0457b55b9dac530f769637c9 /.pylintrc
parentfca57ab604be701700520c3f758ad9b6b941d6aa (diff)
downloadneutron-d00bd978f849df6d8f6f40dbc75b5b3fbdd610ea.tar.gz
pylint: enable `duplicate-key` check
This check attempts to detect dictionary literals with duplicate keys. The rest of the Neutron tree has already had the few instances of this cleaned[1] or moved into external vendor repos. Enabling the pylint check will stop future occurrences. [1] I29cd2b843a7905986de13a1ecfba0cb5797ccaf8 (Original patch I1aa221d2019853f905f2b8421dd45b0a3102baf0 by zhiyuan_cai) Change-Id: If4fed9714cd7fa586845f21f8f56dde2645cc5e0 Co-Authored-By: zhiyuan_cai <luckyvega.g@gmail.com>
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index f2e4a0db2f..5037da9166 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -31,7 +31,6 @@ disable=
broad-except,
dangerous-default-value,
deprecated-lambda,
- duplicate-key,
expression-not-assigned,
fixme,
global-statement,