You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2019/09/09 14:10:45 UTC

[mesos] branch master updated: Punctually disabled pylint's `cyclic-import` warning.

This is an automated email from the ASF dual-hosted git repository.

bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 48819af  Punctually disabled pylint's `cyclic-import` warning.
48819af is described below

commit 48819af30933943734311259d8a69ce84d884548
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Mon Sep 9 15:46:29 2019 +0200

    Punctually disabled pylint's `cyclic-import` warning.
    
    In certain places in the new CLI we reimport symbols into other modules.
    
    Review: https://reviews.apache.org/r/71453
---
 src/python/cli_new/lib/cli/__init__.py       | 4 +++-
 src/python/cli_new/lib/cli/tests/__init__.py | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/python/cli_new/lib/cli/__init__.py b/src/python/cli_new/lib/cli/__init__.py
index e594b30..1c66f63 100644
--- a/src/python/cli_new/lib/cli/__init__.py
+++ b/src/python/cli_new/lib/cli/__init__.py
@@ -18,7 +18,9 @@
 Mesos CLI Module
 """
 
+# pylint: disable=cyclic-import
 from . import config
-from . import exceptions
 from . import plugins
+
+from . import exceptions
 from . import util
diff --git a/src/python/cli_new/lib/cli/tests/__init__.py b/src/python/cli_new/lib/cli/tests/__init__.py
index 144cb33..0536e68 100644
--- a/src/python/cli_new/lib/cli/tests/__init__.py
+++ b/src/python/cli_new/lib/cli/tests/__init__.py
@@ -18,7 +18,7 @@
 Mesos CLI unit tests module.
 """
 
-# pylint: disable=wildcard-import
+# pylint: disable=cyclic-import,wildcard-import
 from .base import *
 
 from .agent import *