We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e20dae commit a3b651aCopy full SHA for a3b651a
doc/source/development/contributing.rst
@@ -698,6 +698,12 @@ to run its checks with::
698
699
without needing to have done ``pre-commit install`` beforehand.
700
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
707
.. note::
708
709
If you have conflicting installations of ``virtualenv``, then you may get an
0 commit comments