Skip to content

Commit c01e22d

Browse files
committed
Optional noqa removes
Signed-off-by: Fabian Haase <[email protected]>
1 parent 948f176 commit c01e22d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

doc/source/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,15 +744,15 @@ Transitioning to ``pytest``
744744
.. code-block:: python
745745
746746
class TestReallyCoolFeature(object):
747-
.... # noqa: E999
747+
pass
748748
749749
Going forward, we are moving to a more *functional* style using the `pytest <http://docs.pytest.org/en/latest/>`__ framework, which offers a richer testing
750750
framework that will facilitate testing and developing. Thus, instead of writing test classes, we will write test functions like this:
751751

752752
.. code-block:: python
753753
754754
def test_really_cool_feature():
755-
.... # noqa: E999
755+
pass
756756
757757
Using ``pytest``
758758
~~~~~~~~~~~~~~~~

doc/source/contributing_docstring.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,26 +197,29 @@ infinitive verb.
197197
"""
198198
pass
199199
200+
.. code-block:: python
200201
201-
def astype(dtype): # noqa: F811
202+
def astype(dtype):
202203
"""
203204
Method to cast Series type.
204205
205206
Does not start with verb.
206207
"""
207208
pass
208209
210+
.. code-block:: python
209211
210-
def astype(dtype): # noqa: F811
212+
def astype(dtype):
211213
"""
212214
Cast Series type
213215
214216
Missing dot at the end.
215217
"""
216218
pass
217219
220+
.. code-block:: python
218221
219-
def astype(dtype): # noqa: F811
222+
def astype(dtype):
220223
"""
221224
Cast Series type from its current type to the new type defined in
222225
the parameter dtype.

0 commit comments

Comments
 (0)