mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andsc...@apache.org
Subject [3/6] mesos git commit: Added python3 to list of Pylint excluded files.
Date Thu, 24 May 2018 22:27:21 GMT
Added python3 to list of Pylint excluded files.

This change ensures that pylint will not try to lint the new Python 3
support scripts if it is not run with Python 3. Having such a situation
results in unexpected errors such as "Unnecessary parens after 'print'
keyword". This change will not be applied in the Python 3 mesos-style.

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


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

Branch: refs/heads/master
Commit: 71315eb0c999706b142d486b11897fbfadf94cd2
Parents: 2820028
Author: Armand Grillet <agrillet@mesosphere.io>
Authored: Thu May 24 14:58:09 2018 -0700
Committer: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
Committed: Thu May 24 14:58:09 2018 -0700

----------------------------------------------------------------------
 support/mesos-style.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/71315eb0/support/mesos-style.py
----------------------------------------------------------------------
diff --git a/support/mesos-style.py b/support/mesos-style.py
index 805ecb7..27ed553 100755
--- a/support/mesos-style.py
+++ b/support/mesos-style.py
@@ -363,7 +363,8 @@ class PyLinter(LinterBase):
                     r'libev\-4\.15|' \
                     r'java/jni|' \
                     r'\.virtualenv|' \
-                    r'\.tox' \
+                    r'\.tox|' \
+                    r'python3' \
                     ')'
 
     source_files = r'\.(py)$'


Mime
View raw message