You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/02/07 18:00:33 UTC
[arrow] branch master updated: ARROW-3606: [Crossbow] Fix flake8
crossbow warnings
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 86df479 ARROW-3606: [Crossbow] Fix flake8 crossbow warnings
86df479 is described below
commit 86df479958c02fadc02669619ec028ac5d82e1e7
Author: Wes McKinney <we...@apache.org>
AuthorDate: Thu Feb 7 12:00:38 2019 -0600
ARROW-3606: [Crossbow] Fix flake8 crossbow warnings
Author: Wes McKinney <we...@apache.org>
Closes #3582 from wesm/ARROW-3606 and squashes the following commits:
e3ae4356 <Wes McKinney> Fix flake8 crossbow warnings
---
dev/tasks/crossbow.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/tasks/crossbow.py b/dev/tasks/crossbow.py
index 2d0c530..08b6198 100755
--- a/dev/tasks/crossbow.py
+++ b/dev/tasks/crossbow.py
@@ -286,7 +286,7 @@ class Repo:
return blob.data
def _parse_github_user_repo(self):
- m = re.match('.*\/([^\/]+)\/([^\/\.]+)(\.git)?$', self.remote_url)
+ m = re.match(r'.*\/([^\/]+)\/([^\/\.]+)(\.git)?$', self.remote_url)
user, repo = m.group(1), m.group(2)
return user, repo
@@ -301,7 +301,7 @@ class Queue(Repo):
def _next_job_id(self, prefix):
"""Auto increments the branch's identifier based on the prefix"""
- pattern = re.compile('[\w\/-]*{}-(\d+)'.format(prefix))
+ pattern = re.compile(r'[\w\/-]*{}-(\d+)'.format(prefix))
matches = list(filter(None, map(pattern.match, self.repo.branches)))
if matches:
latest = max(int(m.group(1)) for m in matches)