Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.stream
Commits
8ece60bc
Commit
8ece60bc
authored
Sep 14, 2020
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/io/stream/__init__.py
View file @
8ece60bc
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
...
...
bob/io/stream/stream_filters.py
View file @
8ece60bc
...
...
@@ -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"
)
...
...
doc/conf.py
View file @
8ece60bc
...
...
@@ -28,7 +28,7 @@ extensions = [
# Be picky about warnings
# TEMP: DO NOT be picky... fixes CI
nitpicky
=
Fals
e
nitpicky
=
Tru
e
# Ignores stuff we can't easily resolve on other project's sphinx manuals
nitpick_ignore
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment