Skip to content

Commit 22a726b

Browse files
committed
Try unpinning testing reqs
1 parent 27e8dc3 commit 22a726b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

readthedocs/integrations/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get(self, *args, **kwargs):
199199
def subclass(self, instance):
200200
return self._get_subclass_replacement(instance)
201201

202-
def create(self, *args, **kwargs): # pylint: disable=unused-argument
202+
def create(self, **kwargs): # pylint: disable=unused-argument
203203
"""Override of create method to use subclass instance instead
204204
205205
Instead of using the underlying Integration model to create this
@@ -295,7 +295,7 @@ class GenericAPIWebhook(Integration):
295295
class Meta:
296296
proxy = True
297297

298-
def save(self, *args, **kwargs):
298+
def save(self, **kwargs):
299299
"""Ensure model has token data before saving"""
300300
try:
301301
token = self.provider_data.get('token')
@@ -305,7 +305,7 @@ def save(self, *args, **kwargs):
305305
if token is None:
306306
token = default_token()
307307
self.provider_data = {'token': token}
308-
super(GenericAPIWebhook, self).save(*args, **kwargs)
308+
super(GenericAPIWebhook, self).save(**kwargs)
309309

310310
@property
311311
def token(self):

readthedocs/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# This application object is used by any WSGI server configured to use this
88
# file. This includes Django's development server, if the WSGI_APPLICATION
99
# setting points here.
10-
from django.core.wsgi import get_wsgi_application
10+
from django.core.wsgi import get_wsgi_application # pylint: disable=wrong-import-position
1111
application = get_wsgi_application()
1212

1313
# Apply WSGI middleware here.

requirements/lint.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-r pip.txt
22
maxcdn
3-
astroid<1.4
4-
pylint<1.5
3+
astroid
4+
pylint
55
prospector
6-
pylint-django<0.7
7-
pyflakes<1.2.0
6+
pylint-django
7+
pyflakes

0 commit comments

Comments
 (0)