File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 -Csetup-args="--werror"
4949
5050 - name : Run doctests
51- env :
52- # Avoids NumPy scalar reprs in docstrings.
53- PANDAS_FUTURE_PYTHON_SCALARS : " 1"
54- run : |
55- pixi run \
56- --environment doctests \
57- ci-test-pandas \
58- '--doctest-modules --doctest-cython --ignore=pandas/tests' \
59- 0 \
60- pandas
51+ run : pixi run --environment doctests ci-doctests
6152
6253 - name : Run scripts tests
6354 run : pixi run --environment doctests ci-scripts-tests
Original file line number Diff line number Diff line change @@ -212,6 +212,19 @@ cmd = [
212212 " {{ pytest_target }}" ,
213213]
214214
215+ [tasks .ci-doctests ]
216+ # Avoids NumPy scalar reprs in docstrings.
217+ env = { PANDAS_FUTURE_PYTHON_SCALARS = " 1" }
218+ cmd = [
219+ " python" ,
220+ " -m" ,
221+ " pytest" ,
222+ " --doctest-modules" ,
223+ " --doctest-cython" ,
224+ " --ignore=pandas/tests" ,
225+ " pandas" ,
226+ ]
227+
215228[tasks .ci-check-import ]
216229cmd = [
217230 " python" ,
@@ -224,7 +237,7 @@ cmd = [
224237cmd = [
225238 " python" ,
226239 " -m" ,
227- " pre-commit " ,
240+ " pre_commit " ,
228241 " run" ,
229242 " --verbose" ,
230243 " --hook-stage" ,
You can’t perform that action at this time.
0 commit comments