From 4c6f18ca9e325199a7fe7b119fcc04b46fd98b4f Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 21 Dec 2010 18:55:23 +0000 Subject: [PATCH] Silence pylint warnings. TBR=dpranke BUG= TEST= Review URL: http://codereview.chromium.org/6051004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@69848 0039d316-1c4b-4281-b951-d872f2087c98 --- pylintrc | 3 ++- tests/fake_repos.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index 6ed25b7ee..c18424842 100644 --- a/pylintrc +++ b/pylintrc @@ -50,6 +50,7 @@ load-plugins= # R0913: Too many arguments (N/5) # R0914: Too many local variables (N/15) # R0915: Too many statements (N/50) +# R0922: Abstract class is only referenced 1 times # W0122: Use of the exec statement # W0141: Used builtin function '' # W0142: Used * or ** magic @@ -59,7 +60,7 @@ load-plugins= # W0613: Unused argument '' # W0703: Catch "Exception" # W6501: Specify string format arguments as logging function parameters -disable=C0103,C0111,C0302,I0011,R0401,R0801,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,W0122,W0141,W0142,W0402,W0511,W0603,W0613,W0703,W6501 +disable=C0103,C0111,C0302,I0011,R0401,R0801,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R0922,W0122,W0141,W0142,W0402,W0511,W0603,W0613,W0703,W6501 [REPORTS] diff --git a/tests/fake_repos.py b/tests/fake_repos.py index dd8b3f826..d7dd7ae91 100755 --- a/tests/fake_repos.py +++ b/tests/fake_repos.py @@ -359,6 +359,12 @@ class FakeReposBase(object): new_tree = tree.copy() self.git_hashes[repo].append((commit_hash, new_tree)) + def populateSvn(self): + raise NotImplementedError() + + def populateGit(self): + raise NotImplementedError() + class FakeRepos(FakeReposBase): """Implements populateSvn() and populateGit()."""