[totem/wip/hadess/re-enable-pylint: 353/354] build: Fix pylint checks timing out
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/re-enable-pylint: 353/354] build: Fix pylint checks timing out
- Date: Wed, 22 Jun 2022 14:51:52 +0000 (UTC)
commit 34fffac8d2e9573e69aabb5b9bf0d78bbd36fe21
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 e78e70e28..069e34d9c 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -69,7 +69,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]