@@ -23,19 +23,19 @@ contributing them to the project::
23
23
24
24
./ci/code_checks.sh
25
25
26
- The script validates the doctests, formatting in docstrings, static typing, and
26
+ The script validates the doctests, formatting in docstrings, and
27
27
imported modules. It is possible to run the checks independently by using the
28
- parameters ``docstring ``, ``code ``, `` typing ``, and ``doctests ``
28
+ parameters ``docstring ``, ``code ``, and ``doctests ``
29
29
(e.g. ``./ci/code_checks.sh doctests ``).
30
30
31
31
In addition, because a lot of people use our library, it is important that we
32
32
do not make sudden changes to the code that could have the potential to break
33
33
a lot of user code as a result, that is, we need it to be as *backwards compatible *
34
34
as possible to avoid mass breakages.
35
35
36
- In addition to ``./ci/code_checks.sh ``, some extra checks are run by
37
- ``pre-commit `` - see :ref: `here <contributing.pre-commit >` for how to
38
- run them.
36
+ In addition to ``./ci/code_checks.sh ``, some extra checks (including static type
37
+ checking) are run by ``pre-commit `` - see :ref: `here <contributing.pre-commit >`
38
+ for how to run them.
39
39
40
40
.. _contributing.pre-commit :
41
41
@@ -260,9 +260,9 @@ pandas uses `mypy <http://mypy-lang.org>`_ and `pyright <https://github.com/micr
260
260
261
261
.. code-block :: shell
262
262
263
- ./ci/code_checks.sh typing
263
+ pre-commit run --hook-stage manual --all-files
264
264
265
- A recent version of ``numpy `` (>=1.21 .0) is required for type validation.
265
+ in your activated python environment. A recent version of ``numpy `` (>=1.22 .0) is required for type validation.
266
266
267
267
.. _contributing.ci :
268
268
0 commit comments