Skip to content

Commit 540e6fb

Browse files
Lower pylint version to match hub
Signed-off-by: Stew Francis <[email protected]>
1 parent 47ada56 commit 540e6fb

File tree

6 files changed

+1
-12
lines changed

6 files changed

+1
-12
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pytest-xdist==1.34.0 # Need this to work around a problem running ansible-test
99
pytest==4.6.11; python_version < '3'
1010
pytest==6.2.1; python_version >= '3'
1111
# Non-test requirements (python 3+ only)
12-
pylint==2.6.0; python_version >= '3'
12+
pylint==2.5.3; python_version >= '3'
1313
shellcheck-py==0.7.1.1; python_version >= '3'
1414
rstcheck==3.3.1; python_version >= '3'
1515
yamllint==1.25.0; python_version >= '3'

plugins/modules/cmci_action.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,9 @@
262262

263263
class AnsibleCMCIInstallModule(AnsibleCMCIModule):
264264
def __init__(self):
265-
# pylint: disable=super-with-arguments
266265
super(AnsibleCMCIInstallModule, self).__init__('PUT')
267266

268267
def init_argument_spec(self): # type: () -> Dict
269-
# pylint: disable=super-with-arguments
270268
argument_spec = super(AnsibleCMCIInstallModule, self)\
271269
.init_argument_spec()
272270
argument_spec.update({

plugins/modules/cmci_create.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,9 @@
229229

230230
class AnsibleCMCICreateModule(AnsibleCMCIModule):
231231
def __init__(self):
232-
# pylint: disable=super-with-arguments
233232
super(AnsibleCMCICreateModule, self).__init__('POST')
234233

235234
def init_argument_spec(self): # type: () -> Dict
236-
# pylint: disable=super-with-arguments
237235
argument_spec = super(AnsibleCMCICreateModule, self)\
238236
.init_argument_spec()
239237
argument_spec.update(parameters_argument(CREATE_PARAMETERS))

plugins/modules/cmci_delete.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,9 @@
218218

219219
class AnsibleCMCIDeleteModule(AnsibleCMCIModule):
220220
def __init__(self):
221-
# pylint: disable=super-with-arguments
222221
super(AnsibleCMCIDeleteModule, self).__init__('DELETE')
223222

224223
def init_argument_spec(self): # type: () -> Dict
225-
# pylint: disable=super-with-arguments
226224
argument_spec = super(AnsibleCMCIDeleteModule, self)\
227225
.init_argument_spec()
228226
argument_spec.update(RESOURCES_ARGUMENT)

plugins/modules/cmci_get.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,9 @@
268268

269269
class AnsibleCMCIGetModule(AnsibleCMCIModule):
270270
def __init__(self):
271-
# pylint: disable=super-with-arguments
272271
super(AnsibleCMCIGetModule, self).__init__('GET')
273272

274273
def init_argument_spec(self): # type: () -> Dict
275-
# pylint: disable=super-with-arguments
276274
argument_spec = super(AnsibleCMCIGetModule, self).init_argument_spec()
277275
argument_spec.update({
278276
_RECORD_COUNT: {
@@ -286,7 +284,6 @@ def init_request_params(self): # type: () -> Optional[Dict[str, str]]
286284
return self.get_resources_request_params()
287285

288286
def init_url(self): # type: () -> str
289-
# pylint: disable=super-with-arguments
290287
url = super(AnsibleCMCIGetModule, self).init_url()
291288

292289
if self._p.get(_RECORD_COUNT):

plugins/modules/cmci_update.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,9 @@
235235

236236
class AnsibleCMCIUpdateModule(AnsibleCMCIModule):
237237
def __init__(self):
238-
# pylint: disable=super-with-arguments
239238
super(AnsibleCMCIUpdateModule, self).__init__('PUT')
240239

241240
def init_argument_spec(self): # type: () -> Dict
242-
# pylint: disable=super-with-arguments
243241
argument_spec = super(AnsibleCMCIUpdateModule, self)\
244242
.init_argument_spec()
245243
argument_spec.update(RESOURCES_ARGUMENT)

0 commit comments

Comments
 (0)