Repository: mesos
Updated Branches:
  refs/heads/master 5d4f588eb -> b3a30f6d2


Updated pylint to ignore errors for 'similar' imports across files.

Without this change pylint will complain when multiple files have very
similar imports. This happens in the Mesos CLI because all of our
'plugins' import the same modules. This commit tells pylint to ignore
similarities in 'import' statements to avoid these errors.

Review: https://reviews.apache.org/r/62066/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b3a30f6d
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b3a30f6d
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b3a30f6d

Branch: refs/heads/master
Commit: b3a30f6d2ac4287cb32d39ade40a34314c555bd6
Parents: 5d4f588
Author: Armand Grillet <agril...@mesosphere.io>
Authored: Fri Sep 22 05:48:16 2017 -0700
Committer: Kevin Klues <klue...@gmail.com>
Committed: Fri Sep 22 05:48:16 2017 -0700

----------------------------------------------------------------------
 src/python/cli_new/pylint.config | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/b3a30f6d/src/python/cli_new/pylint.config
----------------------------------------------------------------------
diff --git a/src/python/cli_new/pylint.config b/src/python/cli_new/pylint.config
index 63fbb94..c760364 100644
--- a/src/python/cli_new/pylint.config
+++ b/src/python/cli_new/pylint.config
@@ -24,3 +24,6 @@ overgeneral-exceptions=
 
 [TYPECHECK]
 ignored-modules = netifaces
+
+[SIMILARITIES]
+ignore-imports=yes

Reply via email to