|
1 | 1 | #! /usr/bin/env python3
|
2 | 2 | import re
|
| 3 | +import os |
3 | 4 | from itertools import groupby
|
4 | 5 | from schemascii.components_render import RENDERERS
|
5 | 6 |
|
6 |
| -# pylint: disable=unspecified-encoding,missing-function-docstring,invalid-name,not-an-iterable |
| 7 | +# pylint: disable=unspecified-encoding,missing-function-docstring,invalid-name |
| 8 | +# pylint: disable=not-an-iterable |
7 | 9 | # cSpell:ignore siht etareneg redner iicsa stpircs nettirwrevo ylpmis segnahc
|
8 | 10 | # cSpell:ignore mehcs daetsn detareneg yllacitamotua codc stnenopmoc lliw ruo
|
| 11 | +# cSpell:ignore sgnirtscod |
9 | 12 |
|
10 | 13 | TOP = ("# Supported Schemascii Components\n\n<!--\n"
|
| 14 | + + "".join(reversed("/stpircs nur dna\nyp.redner_stnenopmoc/iicsa" |
| 15 | + "mehcs ni sgnirtscod eht tide ,daetsnI\n" |
| 16 | + ".nettirwrevo eb ylpmis " |
| 17 | + "lliw segnahc ruoY\n!TIDE TON OD\n!ELIF" |
| 18 | + " DETARENEG YLLACITAMOTUA")) |
| 19 | + + os.path.basename(__file__) |
11 | 20 | + "".join(reversed(".elif siht etareneg-er ot "))
|
12 |
| - + __file__ |
13 |
| - + "".join(reversed("/stpircs nur dna yp.redner_stnenopmoc/iicsa" |
14 |
| - "mehcs tide ,daetsnI\n.nettirwrevo eb ylpmis " |
15 |
| - "lliw segnahc ruoY!TIDE TON OD\n!ELIF" |
16 |
| - " DETARENEG YLLACITAMOTUA")) + |
17 |
| - "\n-->\n\n| Reference Designators | Description | BOM Syntax | Supported Flags |" |
18 |
| - "\n|:--:|:--|:--:|:--|\n") |
| 21 | + + "\n-->\n\n| Reference Designators | Description | " |
| 22 | + + "BOM Syntax | Supported Flags |" |
| 23 | + + "\n|:--:|:--|:--:|:--|\n") |
19 | 24 |
|
20 | 25 |
|
21 | 26 | def group_components_by_func():
|
|
0 commit comments