You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
************* Module binary
binary.py:9:22: E1131: unsupported operand type(s) for| (unsupported-binary-operation)
-----------------------------------
Your code has been rated at 0.00/10
* Use consistent location for NotFoundError
Throughout this module we're using ``astroid.NotFoundError`` as an
alias for ``astroid.exceptions.NotFoundError``, it seems best to be
consistent.
Closes#4951
Co-authored-by: Jacob Walls <[email protected]>
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
For pylint to not throw this error.
Django Rest Framework supports binary operands for permissions [1]
This example code is taken from the documentation [2]
[1] https://github.com/encode/django-rest-framework/blob/master/rest_framework/permissions.py
[2] https://www.django-rest-framework.org/api-guide/permissions/
Pylint version
OS / Environment
Debian GNU/Linux 10 (buster)
Additional dependencies
djangorestframework==3.12.4
edit: Added link [2] to django rest frameworks documentation on permissions
The text was updated successfully, but these errors were encountered: