Skip to content

Commit 28577dd

Browse files
authored
remove PR pre-black instructions (#3707)
1 parent d63888c commit 28577dd

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

doc/contributing.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -381,21 +381,6 @@ and then running::
381381
from the root of the xarray repository. You can skip the pre-commit checks with
382382
``git commit --no-verify``.
383383

384-
.. note::
385-
386-
If you were working on a branch *prior* to the code being reformatted with black,
387-
you will likely face some merge conflicts. These steps can eliminate many of those
388-
conflicts. Because they have had limited testing, please reach out to the core devs
389-
on your pull request if you face any issues, and we'll help with the merge:
390-
391-
- Merge the commit on master prior to the ``black`` commit into your branch
392-
``git merge f172c673``. If you have conflicts here, resolve and commit.
393-
- Apply ``black .`` to your branch and commit ``git commit -am "black"``
394-
- Apply a patch of other changes we made on that commit: ``curl https://gist.githubusercontent.com/max-sixty/3cceb8472ed4ea806353999ca43aed52/raw/03cbee4e386156bddb61acaa250c0bfc726f596d/xarray%2520black%2520diff | git apply -``
395-
- Commit (``git commit -am "black2"``)
396-
- Merge master at the ``black`` commit, resolving in favor of 'our' changes:
397-
``git merge d089df38 -X ours``. You shouldn't have any merge conflicts
398-
- Merge current master ``git merge master``; resolve and commit any conflicts
399384

400385
Backwards Compatibility
401386
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)