diff --git a/gclient.py b/gclient.py index 5ca7036357..7e6b878fca 100644 --- a/gclient.py +++ b/gclient.py @@ -142,6 +142,7 @@ class Dependency(GClientKeywords, gclient_utils.WorkItem): def __init__(self, parent, name, url, safesync_url, custom_deps, custom_vars, deps_file, should_process): GClientKeywords.__init__(self) + gclient_utils.WorkItem.__init__(self) self.parent = parent self.name = name self.url = url diff --git a/gclient_scm.py b/gclient_scm.py index 3909dd750d..3c39729e24 100644 --- a/gclient_scm.py +++ b/gclient_scm.py @@ -8,7 +8,6 @@ import logging import os import posixpath import re -import subprocess import sys import time diff --git a/pylintrc b/pylintrc index 40191ab974..582061ff74 100644 --- a/pylintrc +++ b/pylintrc @@ -35,6 +35,7 @@ load-plugins= # C0103: Invalid name "" # C0111: Missing docstring # C0302: Too many lines in module (N) +# R0901: Too many ancestors (8/7) # R0902: Too many instance attributes (N/7) # R0903: Too few public methods (N/2) # R0911: Too many return statements (N/6) @@ -47,7 +48,7 @@ load-plugins= # W0603: Using the global statement # W0613: Unused argument '' # W6501: Specify string format arguments as logging function parameters -disable=C0103,C0111,C0302,R0902,R0903,R0911,R0912,R0913,R0914,R0915,W0122,W0141,W0603,W0613,W6501 +disable=C0103,C0111,C0302,R0901,R0902,R0903,R0911,R0912,R0913,R0914,R0915,W0122,W0141,W0603,W0613,W6501 [REPORTS]