|
65 | 65 | ### DOCSTRINGS ### |
66 | 66 | if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then |
67 | 67 |
|
68 | | - MSG='Validate docstrings (EX01, EX04, GL01, GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, PR03, PR04, PR05, PR06, PR08, PR09, PR10, RT01, RT02, RT04, RT05, SA02, SA03, SA04, SS01, SS02, SS03, SS04, SS05, SS06)' ; echo $MSG |
69 | | - $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX01,EX04,GL01,GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,PR03,PR04,PR05,PR06,PR08,PR09,PR10,RT01,RT02,RT04,RT05,SA02,SA03,SA04,SS01,SS02,SS03,SS04,SS05,SS06 |
| 68 | + MSG='Validate docstrings (EX01, EX03, EX04, GL01, GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, PR03, PR04, PR05, PR06, PR08, PR09, PR10, RT01, RT02, RT04, RT05, SA02, SA03, SA04, SS01, SS02, SS03, SS04, SS05, SS06)' ; echo $MSG |
| 69 | + $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX01,EX03,EX04,GL01,GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,PR03,PR04,PR05,PR06,PR08,PR09,PR10,RT01,RT02,RT04,RT05,SA02,SA03,SA04,SS01,SS02,SS03,SS04,SS05,SS06 |
70 | 70 | RET=$(($RET + $?)) ; echo $MSG "DONE" |
71 | 71 |
|
72 | | - MSG='Partially validate docstrings (EX03)' ; echo $MSG |
73 | | - $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX03 --ignore_functions \ |
74 | | - pandas.Series.plot.line \ |
75 | | - pandas.Series.to_sql \ |
76 | | - pandas.errors.SettingWithCopyWarning \ |
77 | | - pandas.errors.SpecificationError \ |
78 | | - pandas.errors.UndefinedVariableError \ |
79 | | - pandas.read_json \ |
80 | | - pandas.io.formats.style.Styler.to_latex \ |
81 | | - pandas.read_parquet \ |
82 | | - pandas.DataFrame.to_sql \ |
83 | | - pandas.io.formats.style.Styler.map \ |
84 | | - pandas.io.formats.style.Styler.apply_index \ |
85 | | - pandas.io.formats.style.Styler.map_index \ |
86 | | - pandas.io.formats.style.Styler.format \ |
87 | | - pandas.io.formats.style.Styler.highlight_quantile \ |
88 | | - pandas.io.formats.style.Styler.background_gradient \ |
89 | | - pandas.io.formats.style.Styler.text_gradient |
| 72 | + MSG='Partially validate docstrings (PR02)' ; echo $MSG |
| 73 | + $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=PR02 --ignore_functions \ |
| 74 | + pandas.io.formats.style.Styler.to_excel\ |
| 75 | + pandas.CategoricalIndex.rename_categories\ |
| 76 | + pandas.CategoricalIndex.reorder_categories\ |
| 77 | + pandas.CategoricalIndex.add_categories\ |
| 78 | + pandas.CategoricalIndex.remove_categories\ |
| 79 | + pandas.CategoricalIndex.set_categories\ |
| 80 | + pandas.IntervalIndex.set_closed\ |
| 81 | + pandas.IntervalIndex.contains\ |
| 82 | + pandas.IntervalIndex.overlaps\ |
| 83 | + pandas.IntervalIndex.to_tuples\ |
| 84 | + pandas.DatetimeIndex.round\ |
| 85 | + pandas.DatetimeIndex.floor\ |
| 86 | + pandas.DatetimeIndex.ceil\ |
| 87 | + pandas.DatetimeIndex.month_name\ |
| 88 | + pandas.DatetimeIndex.day_name\ |
| 89 | + pandas.DatetimeIndex.to_period\ |
| 90 | + pandas.DatetimeIndex.std\ |
| 91 | + pandas.TimedeltaIndex.round\ |
| 92 | + pandas.TimedeltaIndex.floor\ |
| 93 | + pandas.TimedeltaIndex.ceil\ |
| 94 | + pandas.PeriodIndex\ |
| 95 | + pandas.PeriodIndex.strftime\ |
| 96 | + pandas.Series.clip\ |
| 97 | + pandas.Series.rename_axis\ |
| 98 | + pandas.Series.interpolate\ |
| 99 | + pandas.Series.dt.to_period\ |
| 100 | + pandas.Series.dt.tz_localize\ |
| 101 | + pandas.Series.dt.tz_convert\ |
| 102 | + pandas.Series.dt.strftime\ |
| 103 | + pandas.Series.dt.round\ |
| 104 | + pandas.Series.dt.floor\ |
| 105 | + pandas.Series.dt.ceil\ |
| 106 | + pandas.Series.dt.month_name\ |
| 107 | + pandas.Series.dt.day_name\ |
| 108 | + pandas.Series.str.wrap\ |
| 109 | + pandas.Series.cat.rename_categories\ |
| 110 | + pandas.Series.cat.reorder_categories\ |
| 111 | + pandas.Series.cat.add_categories\ |
| 112 | + pandas.Series.cat.remove_categories\ |
| 113 | + pandas.Series.cat.set_categories\ |
| 114 | + pandas.Series.plot\ |
| 115 | + pandas.Series.plot.bar\ |
| 116 | + pandas.Series.plot.barh\ |
| 117 | + pandas.Series.plot.line\ |
| 118 | + pandas.Series.plot.pie\ |
| 119 | + pandas.DataFrame.clip\ |
| 120 | + pandas.DataFrame.plot\ |
| 121 | + pandas.DataFrame.plot.bar\ |
| 122 | + pandas.DataFrame.plot.barh\ |
| 123 | + pandas.DataFrame.plot.line\ |
| 124 | + pandas.DataFrame.plot.pie\ |
| 125 | + pandas.tseries.offsets.DateOffset\ |
| 126 | + pandas.tseries.offsets.BusinessDay\ |
| 127 | + pandas.tseries.offsets.BDay\ |
| 128 | + pandas.tseries.offsets.BusinessHour\ |
| 129 | + pandas.tseries.offsets.CustomBusinessDay\ |
| 130 | + pandas.tseries.offsets.CDay\ |
| 131 | + pandas.tseries.offsets.CustomBusinessHour\ |
| 132 | + pandas.tseries.offsets.MonthEnd\ |
| 133 | + pandas.tseries.offsets.MonthBegin\ |
| 134 | + pandas.tseries.offsets.BusinessMonthEnd\ |
| 135 | + pandas.tseries.offsets.BMonthEnd\ |
| 136 | + pandas.tseries.offsets.BusinessMonthBegin\ |
| 137 | + pandas.tseries.offsets.BMonthBegin\ |
| 138 | + pandas.tseries.offsets.CustomBusinessMonthEnd\ |
| 139 | + pandas.tseries.offsets.CBMonthEnd\ |
| 140 | + pandas.tseries.offsets.CustomBusinessMonthBegin\ |
| 141 | + pandas.tseries.offsets.CBMonthBegin\ |
| 142 | + pandas.tseries.offsets.SemiMonthEnd\ |
| 143 | + pandas.tseries.offsets.SemiMonthBegin\ |
| 144 | + pandas.tseries.offsets.Week\ |
| 145 | + pandas.tseries.offsets.WeekOfMonth\ |
| 146 | + pandas.tseries.offsets.LastWeekOfMonth\ |
| 147 | + pandas.tseries.offsets.BQuarterEnd\ |
| 148 | + pandas.tseries.offsets.BQuarterBegin\ |
| 149 | + pandas.tseries.offsets.QuarterEnd\ |
| 150 | + pandas.tseries.offsets.QuarterBegin\ |
| 151 | + pandas.tseries.offsets.BYearEnd\ |
| 152 | + pandas.tseries.offsets.BYearBegin\ |
| 153 | + pandas.tseries.offsets.YearEnd\ |
| 154 | + pandas.tseries.offsets.YearBegin\ |
| 155 | + pandas.tseries.offsets.FY5253\ |
| 156 | + pandas.tseries.offsets.FY5253Quarter\ |
| 157 | + pandas.tseries.offsets.Easter\ |
| 158 | + pandas.tseries.offsets.Day\ |
| 159 | + pandas.tseries.offsets.Hour\ |
| 160 | + pandas.tseries.offsets.Minute\ |
| 161 | + pandas.tseries.offsets.Second\ |
| 162 | + pandas.tseries.offsets.Milli\ |
| 163 | + pandas.tseries.offsets.Micro\ |
| 164 | + pandas.tseries.offsets.Nano\ |
| 165 | + pandas.describe_option\ |
| 166 | + pandas.reset_option\ |
| 167 | + pandas.get_option\ |
| 168 | + pandas.set_option\ |
| 169 | + pandas.Timestamp.max\ |
| 170 | + pandas.Timestamp.min\ |
| 171 | + pandas.Timestamp.resolution\ |
| 172 | + pandas.Timedelta.max\ |
| 173 | + pandas.Timedelta.min\ |
| 174 | + pandas.Timedelta.resolution\ |
| 175 | + pandas.Interval\ |
| 176 | + pandas.Grouper\ |
| 177 | + pandas.core.groupby.SeriesGroupBy.apply\ |
| 178 | + pandas.core.groupby.SeriesGroupBy.transform\ |
| 179 | + pandas.core.groupby.DataFrameGroupBy.transform\ |
| 180 | + pandas.core.groupby.DataFrameGroupBy.nth\ |
| 181 | + pandas.core.groupby.DataFrameGroupBy.rolling\ |
| 182 | + pandas.core.groupby.SeriesGroupBy.idxmax\ |
| 183 | + pandas.core.groupby.SeriesGroupBy.idxmin\ |
| 184 | + pandas.core.groupby.SeriesGroupBy.nth\ |
| 185 | + pandas.core.groupby.SeriesGroupBy.rolling\ |
| 186 | + pandas.core.groupby.DataFrameGroupBy.hist\ |
| 187 | + pandas.core.groupby.DataFrameGroupBy.plot\ |
| 188 | + pandas.core.groupby.SeriesGroupBy.plot\ |
| 189 | + pandas.read_hdf\ |
| 190 | + pandas.HDFStore.append\ |
| 191 | + pandas.core.window.rolling.Rolling.quantile\ |
| 192 | + pandas.core.window.expanding.Expanding.quantile\ |
| 193 | + pandas.api.extensions.ExtensionArray.argsort # There should be no backslash in the final line, please keep this comment in the last ignored function |
90 | 194 | RET=$(($RET + $?)) ; echo $MSG "DONE" |
91 | 195 |
|
92 | 196 | fi |
|
0 commit comments