minor, move scripts manuals to __doc__
diff --git a/src/gen-os2-unicode-ranges.py b/src/gen-os2-unicode-ranges.py
index 4d433c5..a17219d 100755
--- a/src/gen-os2-unicode-ranges.py
+++ b/src/gen-os2-unicode-ranges.py
@@ -1,8 +1,9 @@
#!/usr/bin/env python3
-# Generates the code for a sorted unicode range array as used in hb-ot-os2-unicode-ranges.hh
-# Input is a tab seperated list of unicode ranges from the otspec
-# (https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur).
+"""Generates the code for a sorted unicode range array as used in hb-ot-os2-unicode-ranges.hh
+Input is a tab seperated list of unicode ranges from the otspec
+(https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur).
+"""
import io
import re
@@ -17,7 +18,7 @@
with io.open(input_file, mode="r", encoding="utf-8") as f:
- all_ranges = [];
+ all_ranges = []
current_bit = 0
while True:
line = f.readline().strip()