pull_requests: 409715153
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
409715153 | MDExOlB1bGxSZXF1ZXN0NDA5NzE1MTUz | 4012 | closed | 0 | Apply blackdoc to the documentation | 14808389 | This applies `black` to the code in the documentation using [`blackdoc`](https://github.com/keewis/blackdoc). The tool itself is not stable or released yet, but this demonstrate the upcoming support for `rst` code blocks, including the ipython sphinx directive. There are a few issues with the latter, e.g. the semi-colon to suppress output will be removed by `black`. In a few cases this changes the other outputs, mostly plots. I think we might fix/work around that by moving the line decorator to the last line that should be plotted (which is what I did), but we could also use the ipython syntax with cell decorators: ```python @savefig ... In [1]: # code ...: # with multiple lines ``` Also, while I checked the changes manually, please don't take my word for it: I'm really not sure I didn't miss anything. I know this is a rather large PR so I'm fine with waiting. - [x] Passes `isort -rc . && black . && mypy . && flake8` - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API | 2020-04-27T20:00:15Z | 2020-04-29T16:20:01Z | 2020-04-29T16:10:10Z | 2020-04-29T16:10:10Z | 8834afa9f617bd201eba00374bb55d96dccec96b | 0 | 27af0d43888318f1c7bd630102e46488a8a23d4b | 33a66d6380c26a59923922ee11e8ffcf0b4f379f | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/4012 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests