pyupgrade docs to Python 3#5705
Conversation
| idlist.append(scenario[0]) | ||
| items = scenario[1].items() | ||
| argnames = [x[0] for x in items] | ||
| argvalues.append(([x[1] for x in items])) |
There was a problem hiding this comment.
this might look like a mistake, but it's not.
nicoddemus
left a comment
There was a problem hiding this comment.
Thanks a lot @verhovsky, we appreciate it!
As I mentioned, the implicit code block limiters :: need to be removed if they are followed by a proper .. code-block: directive. 👍
Codecov Report
@@ Coverage Diff @@
## master #5705 +/- ##
==========================================
- Coverage 96.16% 96.14% -0.03%
==========================================
Files 117 117
Lines 25864 25864
Branches 2498 2498
==========================================
- Hits 24873 24867 -6
- Misses 690 696 +6
Partials 301 301
Continue to review full report at Codecov.
|
…\n.. code-block")" This reverts commit 9fce0bd.
…":\n\n.. code-block")
|
@verhovsky |
ran pyupgrade-docs (it's just a copy of asottile/blacken-docs but with pyupgrade instead) with
--py3-onlythen I labeled all the unlabeled code blocks I could find (except the ones in
/doc/en/announce) as python/text/bash because pyupgrade-docs and blacken-docs don't pick up unlabeledcode-blocksthen I re-ran pyupgrade and also blacken-docs