Commit 6985efce authored by maruel@chromium.org's avatar maruel@chromium.org

Fix small nits.

pylint is useful to catch errors before they go live so fix little annoyances.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3372001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58817 0039d316-1c4b-4281-b951-d872f2087c98
parent 20760a54
......@@ -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
......
......@@ -8,7 +8,6 @@ import logging
import os
import posixpath
import re
import subprocess
import sys
import time
......
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment