diff --git a/ci/code_checks.sh b/ci/code_checks.sh index ea9595fd88630..ef026c8e69dbb 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -93,8 +93,8 @@ fi ### DOCSTRINGS ### if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then - MSG='Validate docstrings (GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, SS01, SS02, SS04, SS05, PR03, PR04, PR05, PR10, EX04, RT01, RT04, RT05, SA02, SA03)' ; echo $MSG - $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS02,SS04,SS05,PR03,PR04,PR05,PR10,EX04,RT01,RT04,RT05,SA02,SA03 + MSG='Validate docstrings (GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, SS01, SS02, SS03, SS04, SS05, PR03, PR04, PR05, PR10, EX04, RT01, RT04, RT05, SA02, SA03)' ; echo $MSG + $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS02,SS03,SS04,SS05,PR03,PR04,PR05,PR10,EX04,RT01,RT04,RT05,SA02,SA03 RET=$(($RET + $?)) ; echo $MSG "DONE" fi diff --git a/pandas/_config/config.py b/pandas/_config/config.py index e2e6bbe8db7cc..5c3db40828fe3 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -98,7 +98,7 @@ class RegisteredOption(NamedTuple): class OptionError(AttributeError, KeyError): """ Exception for pandas.options, backwards compatible with KeyError - checks + checks. """ diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 03cd4a97c240e..98055c01d6ab0 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -2247,7 +2247,7 @@ cdef class MonthBegin(MonthOffset): cdef class BusinessMonthEnd(MonthOffset): """ - DateOffset increments between the last business day of the month + DateOffset increments between the last business day of the month. Examples -------- diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 97f5ef20c5c5e..faa32b31a73d7 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -325,7 +325,7 @@ class providing the base-class of operations. _transform_template = """ Call function producing a like-indexed %(klass)s on each group and return a %(klass)s having the same indexes as the original object -filled with the transformed values +filled with the transformed values. Parameters ---------- diff --git a/pandas/core/indexers/objects.py b/pandas/core/indexers/objects.py index c4156f214ca68..4d5e4bbe6bd36 100644 --- a/pandas/core/indexers/objects.py +++ b/pandas/core/indexers/objects.py @@ -124,7 +124,7 @@ def get_window_bounds( class VariableOffsetWindowIndexer(BaseIndexer): - """Calculate window boundaries based on a non-fixed offset such as a BusinessDay""" + """Calculate window boundaries based on a non-fixed offset such as a BusinessDay.""" def __init__( self, diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 128aa8e282a0d..53d584f801b0f 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -732,7 +732,7 @@ def array(self): @cache_readonly def dtypes(self) -> Series: """ - Return the dtypes as a Series for the underlying MultiIndex + Return the dtypes as a Series for the underlying MultiIndex. """ from pandas import Series