From b0fa821bc3c520d82e8598504d3e8458dd90fc3d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 8 Jul 2016 11:03:27 +0200 Subject: pylint: Disable duplicate-code globally We can't disable it more fine-grained: https://github.com/PyCQA/pylint/issues/214 I think for the shown duplicate (histroy in webkittab/webenginetab) it makes no sense to refactor things as a Mixin... --- .pylintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index 95be1d248..92720e3a4 100644 --- a/.pylintrc +++ b/.pylintrc @@ -33,7 +33,8 @@ disable=no-self-use, ungrouped-imports, redefined-variable-type, suppressed-message, - too-many-return-statements + too-many-return-statements, + duplicate-code [BASIC] function-rgx=[a-z_][a-z0-9_]{2,50}$ -- cgit v1.2.3-54-g00ecf