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 2018/08/28 08:59:06 UTC

[mesos] branch master updated: Added `cli_new` to the excluded directories for python2 mesos-style.py.

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 b02c054  Added `cli_new` to the excluded directories for python2 mesos-style.py.
b02c054 is described below

commit b02c054654f8b5b6210ea62ee76a8ffb66f4a41c
Author: Armand Grillet <ag...@mesosphere.io>
AuthorDate: Tue Aug 28 10:57:13 2018 +0200

    Added `cli_new` to the excluded directories for python2 mesos-style.py.
    
    This way, pylint does not report outdated errors when the old
    mesos-style.py is run.
    
    Review: https://reviews.apache.org/r/68486/
---
 support/mesos-style.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/mesos-style.py b/support/mesos-style.py
index a0ef221..0243eb3 100755
--- a/support/mesos-style.py
+++ b/support/mesos-style.py
@@ -368,7 +368,8 @@ class PyLinter(LinterBase):
                     r'java/jni|' \
                     r'\.virtualenv|' \
                     r'\.tox|' \
-                    r'python3' \
+                    r'python3|' \
+                    r'cli_new' \
                     ')'
 
     source_files = r'\.(py)$'