Skip to content

Commit 383eaa2

Browse files
vangoradeluckyvs1
authored andcommitted
DOC: Update contributing.rst (pandas-dev#38998)
1 parent fd8eda3 commit 383eaa2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/development/contributing.rst

+6
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,12 @@ to run its checks with::
698698

699699
without needing to have done ``pre-commit install`` beforehand.
700700

701+
If you want to run checks on all recently commited files on upstream/master you can use::
702+
703+
pre-commit run --from-ref=upstream/master --to-ref=HEAD --all-files
704+
705+
without needing to have done ``pre-commit install`` beforehand.
706+
701707
.. note::
702708

703709
If you have conflicting installations of ``virtualenv``, then you may get an

0 commit comments

Comments
 (0)