Fix flake8 errors/warnings about import in cubicweb/_exceptions.py
We either ignore errors in case of name re-exports and drop re-exports
from old backwards compatibility. We fix the only occurrence of
NoSelectableObject being imported from cubicweb in tests and update the
import to use lgc instead.
.. _core_module:
:mod:`cubicweb.pyramid.core`
----------------------------
.. automodule:: cubicweb.pyramid.core
.. autofunction:: includeme
.. autofunction:: cw_to_pyramid
.. autofunction:: render_view
.. autofunction:: repo_connect
.. autofunction:: get_principals
.. autoclass:: CubicWebPyramidRequest
:show-inheritance:
:members:
.. autofunction:: _cw_session
.. autofunction:: _cw_cnx
.. autofunction:: _cw_request