Page MenuHomePhabricator

[lint] add a blank line after module level docstring in python files
ClosedPublic

Authored by PiRK on Mon, Nov 10, 07:54.

Details

Summary

This is extracted out of D18904.

I used the search and replace tool in my IDE with the following regex:
^("""(?:\\[\s\S]|[^"\\]|"(?!"")|""(?!"))*""")\r?\n(\w)

Replaced by
$1\n\n$2

A few false positives had to be filtered out, so this is not really a scripted diff.

Depends on D18903

Test Plan

Trivial self-review, and a run of all python tests just to be sure.
ninja all check-all check-electrum check-electrum-functional`

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable