[totem/wip/hadess/re-enable-pylint: 1/3] build: Fix pylint checks timing out




commit 75bfc16d83e7f93ba7bdd9bb942bcc4947002cc6
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 27 11:02:52 2021 +0200

    build: Fix pylint checks timing out
    
    Disable "similarity" report in pylint so as to fix the pathological
    speed regression that caused most of the checks to timeout.
    
    See https://github.com/PyCQA/pylint/issues/4120#issuecomment-826365010

 src/plugins/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 22bfc8f4a..caf14a54f 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -66,7 +66,7 @@ if plugins_option != 'none'
   endif
 endif
 
-pylint_flags = ['-d', 'C0111', '-d', 'W0511', '-d', 'F0401', '-d', 'C0326' ]
+pylint_flags = ['-d', 'C0111', '-d', 'W0511', '-d', 'F0401', '-d', 'C0326', '-d', 'R0801', '-d', 'RP0801' ]
 
 # FIXME: Move custom_target to i18n.merge_file when gettext acquires plugin support.
 #        http://lists.gnu.org/archive/html/bug-gettext/2017-06/msg00001.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]