Skip to content

Commit

Permalink
Docs: removed noqa showing on docs (#1071)
Browse files Browse the repository at this point in the history
* Fix: noqa

* trigger rebuild
  • Loading branch information
tonykploomber committed Jan 31, 2023
1 parent a23623c commit 2a6287f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/ploomber/clients/storage/gcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ def get():
Notes
-----
`Complete example using the Spec API <https://github.com/ploomber/projects/tree/master/templates/google-cloud>`_ # noqa
`Complete example using the Spec API <https://github.com/ploomber/projects/tree/master/templates/google-cloud>`_
If a notebook (or script) task fails, the partially executed ``.ipynb``
file will be uploaded using this client.
"""
""" # noqa
@requires(['google.cloud.storage'],
name='GCloudStorageClient',
pip_names=['google-cloud-storage'])
Expand Down
4 changes: 2 additions & 2 deletions src/ploomber/tasks/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ class NotebookRunner(NotebookMixin, Task):
Support for generating output notebooks in multiple formats, see
example above.
`nbconvert's documentation <https://nbconvert.readthedocs.io/en/latest/config_options.html#preprocessor-options>`_ # noqa
"""
`nbconvert's documentation <https://nbconvert.readthedocs.io/en/latest/config_options.html#preprocessor-options>`_
""" # noqa

PRODUCT_CLASSES_ALLOWED = (File,)

Expand Down
4 changes: 2 additions & 2 deletions src/ploomber/tasks/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class SQLDump(io.FileLoaderMixin, ClientMixin, Task):
- source: script.sql
product: data.parquet
`Full spec API example. <https://github.com/ploomber/projects/tree/master/cookbook/sql-dump>`_ # noqa
`Full spec API example. <https://github.com/ploomber/projects/tree/master/cookbook/sql-dump>`_
Python API:
Expand Down Expand Up @@ -231,7 +231,7 @@ class SQLDump(io.FileLoaderMixin, ClientMixin, Task):
--------
ploomber.clients.SQLScript :
A task to execute a SQL script and create a table/view as product
"""
""" # noqa
PRODUCT_CLASSES_ALLOWED = (File, GenericProduct)

def __init__(self,
Expand Down
4 changes: 2 additions & 2 deletions src/ploomber/tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def another_task(product):
``debug`` constructor flag renamed to ``debug_mode`` to avoid
conflicts with the ``debug`` method.
More `examples using the Python API. <https://github.com/ploomber/projects/tree/master/python-api-examples>`_ # noqa
More `examples using the Python API. <https://github.com/ploomber/projects/tree/master/python-api-examples>`_
The ``executor=Serial(build_in_subprocess=False)`` argument is only
required if copy-pasting the example in a Python session. If you store the
Expand All @@ -195,7 +195,7 @@ def another_task(product):
:class: text-editor
python script.py
"""
""" # noqa

def __init__(
self,
Expand Down

0 comments on commit 2a6287f

Please sign in to comment.