comparison scripts/docs-headings.py @ 7811:0a277465fddf

scripts: initial run of import cleanup using isort
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 07 Aug 2019 00:25:02 +0200
parents a188803df37e
children a8e6bb9ee9ea
comparison
equal deleted inserted replaced
7810:5698307382de 7811:0a277465fddf
4 Consistent formatting of rst section titles 4 Consistent formatting of rst section titles
5 """ 5 """
6 6
7 import re 7 import re
8 import subprocess 8 import subprocess
9
9 10
10 spaces = [ 11 spaces = [
11 (0, 1), # we assume this is a over-and-underlined header 12 (0, 1), # we assume this is a over-and-underlined header
12 (2, 1), 13 (2, 1),
13 (1, 1), 14 (1, 1),