Skip to content

Commit 0ea390d

Browse files
committed
COMPAT: Do not run xargs with -r on OSX
OSX xargs has no -r, but it still terminates when xargs is empty, which was the whole point of passing in that flag in the first place.
1 parent da57857 commit 0ea390d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/source/contributing.rst

+5
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,11 @@ run this command, though it will take longer::
529529

530530
git diff master --name-only -- '*.py' | grep 'pandas/' | xargs -r flake8
531531

532+
Note that on OSX, the ``-r`` flag is not available, so you have to omit it and
533+
run this slightly modified command::
534+
535+
git diff master --name-only -- '*.py' | grep 'pandas/' | xargs flake8
536+
532537
Backwards Compatibility
533538
~~~~~~~~~~~~~~~~~~~~~~~
534539

0 commit comments

Comments
 (0)