File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,11 @@ pandas uses `mypy <http://mypy-lang.org>`_ and `pyright <https://github.com/micr
265265
266266.. code-block :: shell
267267
268- pre-commit run --hook-stage manual --all-files
268+ # the following might fail if the installed pandas version does not correspond to your local git version
269+ pre-commit run --hook-stage manual --all-files
270+
271+ # if the above fails due to stubtest
272+ SKIP=stubtest pre-commit run --hook-stage manual --all-files
269273
270274 in your activated python environment. A recent version of ``numpy `` (>=1.22.0) is required for type validation.
271275
Original file line number Diff line number Diff line change 99import pandas as pd
1010
1111# fail early if pandas is not installed
12- if "dev" not in getattr (pd , "__version__" , "" ):
12+ if not getattr (pd , "__version__" , "" ):
1313 # fail on the CI, soft fail during local development
1414 warnings .warn ("You need to install the development version of pandas" )
1515 if pd .compat .is_ci_environment ():
You can’t perform that action at this time.
0 commit comments