Skip to content

Commit cbae35c

Browse files
simonjayhawkinsroberthdevries
authored andcommitted
D411: Missing blank line before section (pandas-dev#31959)
1 parent 0aac6cf commit cbae35c

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

pandas/_testing.py

+1
Original file line numberDiff line numberDiff line change
@@ -2593,6 +2593,7 @@ def test_parallel(num_threads=2, kwargs_list=None):
25932593
kwargs_list : list of dicts, optional
25942594
The list of kwargs to update original
25952595
function kwargs on different threads.
2596+
25962597
Notes
25972598
-----
25982599
This decorator does not pass the return value of the decorated function.

pandas/core/indexes/datetimelike.py

+2
Original file line numberDiff line numberDiff line change
@@ -937,12 +937,14 @@ def _wrap_joined_index(self, joined, other):
937937
def insert(self, loc, item):
938938
"""
939939
Make new Index inserting new item at location
940+
940941
Parameters
941942
----------
942943
loc : int
943944
item : object
944945
if not either a Python datetime or a numpy integer-like, returned
945946
Index dtype will be object rather than datetime.
947+
946948
Returns
947949
-------
948950
new_index : Index

pandas/io/excel/_openpyxl.py

+4
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,13 @@ def _convert_to_number_format(cls, number_format_dict):
366366
"""
367367
Convert ``number_format_dict`` to an openpyxl v2.1.0 number format
368368
initializer.
369+
369370
Parameters
370371
----------
371372
number_format_dict : dict
372373
A dict with zero or more of the following keys.
373374
'format_code' : str
375+
374376
Returns
375377
-------
376378
number_format : str
@@ -381,12 +383,14 @@ def _convert_to_number_format(cls, number_format_dict):
381383
def _convert_to_protection(cls, protection_dict):
382384
"""
383385
Convert ``protection_dict`` to an openpyxl v2 Protection object.
386+
384387
Parameters
385388
----------
386389
protection_dict : dict
387390
A dict with zero or more of the following keys.
388391
'locked'
389392
'hidden'
393+
390394
Returns
391395
-------
392396
"""

pandas/io/excel/_util.py

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def _fill_mi_header(row, control_row):
174174
"""Forward fill blank entries in row but only inside the same parent index.
175175
176176
Used for creating headers in Multiindex.
177+
177178
Parameters
178179
----------
179180
row : list

pandas/util/_validators.py

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def validate_args(fname, args, max_fname_arg_count, compat_args):
9191
arguments **positionally** internally when calling downstream
9292
implementations, a dict ensures that the original
9393
order of the keyword arguments is enforced.
94+
9495
Raises
9596
------
9697
TypeError

0 commit comments

Comments
 (0)