Skip to content
Next Next commit
fix warnings, make sphinx fail on warnings
  • Loading branch information
mfeurer committed Apr 16, 2021
commit 72491d51b5e98547bac8b42c96b8839e02c1588d
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,4 @@

def setup(app):
app.add_css_file("codehighlightstyle.css")
app.warningiserror = True
6 changes: 4 additions & 2 deletions doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ This document will guide you through the most important use cases, functions
and classes in the OpenML Python API. Throughout this document, we will use
`pandas <http://pandas.pydata.org/>`_ to format and filter tables.

~~~~~~~~~~~~~~~~~~~~~~
.. _installation:

~~~~~~~~~~~~~~~~~~~~~
Installation & Set up
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~

The OpenML Python package is a connector to `OpenML <https://www.openml.org/>`_.
It allows you to use and share datasets and tasks, run
Expand Down
2 changes: 0 additions & 2 deletions examples/30_extended/configure_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
Explains openml-python logging, and shows how to configure it.
"""
##################################################################################
# Logging
# ^^^^^^^
# Openml-python uses the `Python logging module <https://docs.python.org/3/library/logging.html>`_
# to provide users with log messages. Each log message is assigned a level of importance, see
# the table in Python's logging tutorial
Expand Down
1 change: 1 addition & 0 deletions examples/30_extended/custom_flow_.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
# The exact format of the predictions will depend on the task.
#
# The predictions should always be a list of lists, each list should contain:
#
# - the repeat number: for repeated evaluation strategies. (e.g. repeated cross-validation)
# - the fold number: for cross-validation. (what should this be for holdout?)
# - 0: this field is for backward compatibility.
Expand Down
1 change: 1 addition & 0 deletions examples/30_extended/study_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# connects to the test server at test.openml.org before doing so.
# This prevents the crowding of the main server with example datasets,
# tasks, runs, and so on.
#
############################################################################


Expand Down
1 change: 1 addition & 0 deletions examples/30_extended/suites_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# connects to the test server at test.openml.org before doing so.
# This prevents the main server from crowding with example datasets,
# tasks, runs, and so on.
#
############################################################################


Expand Down