Commit 8ece60bc authored by Vincent POLLET's avatar Vincent POLLET
Browse files

[CI] doc: correct imports in __init__.py and stream_filters, set nitpicky to True again

parent d3f887f6
Pipeline #42751 passed with stage
in 5 minutes and 20 seconds
from .stream_file import StreamFile
from .stream import Stream
# does that work?
from .stream_filters import *
from bob.io.stream.stream_file import StreamFile
from bob.io.stream.stream import Stream, stream_filter, StreamFilter
# import filters defined in stream.py
from bob.io.stream.stream import AsType, \
StreamSelect, \
StreamView
# import filters defined in stream_filters
from bob.io.stream.stream_filters import StreamColorMap, \
StreamNormalize, \
StreamClean, \
StreamStacked, \
StreamAdjust, \
StreamWarp, \
StreamStereo, \
StreamReproject, \
StreamSubtract
# So that elements are available at package level, eg: bob.io.stream.Stream and not bob.io.stream.stream.Stream
Stream.__module__ = "bob.io.stream"
StreamFile.__module__ = "bob.io.stream"
StreamFilter.__module__ = "bob.io.stream"
stream_filter.__module__ = "bob.io.stream"
def get_config():
"""Returns a string containing the configuration information.
"""
"""
import bob.extension
......
......@@ -9,7 +9,7 @@ from .utils import convert_cv_to_bob, StreamArray
from bob.ip.stereo import StereoParameters
from bob.ip.stereo import stereo_match, reproject_image, CameraPair
from .stream import stream_filter, Stream, StreamFilter
from .stream import stream_filter, StreamFilter
### to_rgb ###
@stream_filter("colormap")
......
......@@ -28,7 +28,7 @@ extensions = [
# Be picky about warnings
# TEMP: DO NOT be picky... fixes CI
nitpicky = False
nitpicky = True
# Ignores stuff we can't easily resolve on other project's sphinx manuals
nitpick_ignore = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment