#212 Various new pylint errors
Closed: Fixed None Opened 3 years ago by puiterwijk.

Looks like the new pylint got some new checks which we're failing.
These should really be fixed, as some of them are 500's waiting to happen.

The failing checks:

**** Module ipsilon.providers.openid.auth
E: 59,37: Instance of 'InvalidRequest' has no 'code' member (no-member)
E: 59,45: Instance of 'InvalidRequest' has no 'msg' member (no-member)
E: 62,49: Instance of 'AuthenticationError' has no 'msg' member (no-member)
E: 84,18: Too many positional arguments for constructor call (too-many-function-args)
E:164,20: The raise statement is not inside an except clause (misplaced-bare-raise)
* Module ipsilon.providers.saml2.auth
E:273,22: No value for argument 'code' in constructor call (no-value-for-parameter)
* Module ipsilon.tools.saml2metadata
E:100,47: Instance of 'date' has no 'time' member (no-member)
**** Module ipsilon.util.data
E:137,20: Value 'self._table.columns' is unsubscriptable (unsubscriptable-object)
E:149,28: Value 'self._table.columns' is unsubscriptable (unsubscriptable-object)
E:780,22: Method 'columns' has no 'uuid' member (no-member)
E:816,22: Method 'columns' has no 'uuid' member (no-member)


Patches available at https://pagure.io/ipsilon/pull-request/79.

patch_available: 0 => 1
status: new => accepted

This patch has been merged and tests pass again.

resolution: => fixed
status: accepted => closed

Metadata Update from @puiterwijk:
- Issue assigned to puiterwijk
- Issue set to the milestone: 1.2

2 years ago

Login to comment on this ticket.

Metadata