Skip to content

Commit 134ec39

Browse files
committed
Handle the new CLA signatories.
1 parent 1b273c8 commit 134ec39

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.sticker.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.stickler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
---
12
linters:
2-
flake8: { }
3+
pep8:
4+
python: 3

scitools_cla_checker/update_pr.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,15 @@ def get_contributors():
198198
content = json.loads(response.body.decode())
199199
signatures = sorted([person['profile_name']
200200
for person in content['contributors']])
201-
return signatures
201+
202+
v4_json = (
203+
'https://script.google.com/macros/s/'
204+
'AKfycbwqZ0JLlOKJEcvYUYFXo77o6nux9tSHvOJISUnk3yHi-Bk0Qanz/exec')
205+
response = yield http_client.fetch(v4_json)
206+
content = json.loads(response.body.decode())
207+
v4_signatures = sorted(content['signatories'])
208+
209+
return sorted(signatures + v4_signatures)
202210

203211

204212
def configure_default_client():

0 commit comments

Comments
 (0)