From 56f4eea26c703992d0a27fd99b7083593f209677 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sat, 4 May 2013 21:40:56 +0900 Subject: [PATCH] Disable pylint warnings about similar lines in multiple files When running pylint over the entire code base, it reports the warning: R0801: Similar lines in 2 files for several pairs of files. The code referred to is boilerplate code related to imports and error handling. It is not practical to change the code to avoid the warnings, so simply disable them in the config. Change-Id: Ie685fdf1cab60fb8f1503be560166a14058698d8 --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index e0b1f116..10b842da 100644 --- a/.pylintrc +++ b/.pylintrc @@ -53,7 +53,7 @@ load-plugins= enable=RP0004 # Disable the message(s) with the given id(s). -disable=R0903,R0912,R0913,R0914,R0915,W0141,C0111,C0103,W0603,W0703,R0911,C0301,C0302,R0902,R0904,W0142,W0212,E1101,E1103,R0201,W0201,W0122,W0232,RP0001,RP0003,RP0101,RP0002,RP0401,RP0701,RP0801,F0401,E0611 +disable=R0903,R0912,R0913,R0914,R0915,W0141,C0111,C0103,W0603,W0703,R0911,C0301,C0302,R0902,R0904,W0142,W0212,E1101,E1103,R0201,W0201,W0122,W0232,RP0001,RP0003,RP0101,RP0002,RP0401,RP0701,RP0801,F0401,E0611,R0801 [REPORTS]