forked from 00dani/lemoncurry
Run Black over the whole codebase
This commit is contained in:
parent
cd990e4e2f
commit
2e7d12b3e6
109 changed files with 1539 additions and 1209 deletions
|
@ -3,14 +3,14 @@ from .. import convert
|
|||
|
||||
def test_to_python():
|
||||
samples = {
|
||||
'A': 0,
|
||||
'B': 1,
|
||||
'Y': 24,
|
||||
'a': 26,
|
||||
'b': 27,
|
||||
'y': 50,
|
||||
'BA': 52,
|
||||
'BAB': 2705,
|
||||
"A": 0,
|
||||
"B": 1,
|
||||
"Y": 24,
|
||||
"a": 26,
|
||||
"b": 27,
|
||||
"y": 50,
|
||||
"BA": 52,
|
||||
"BAB": 2705,
|
||||
}
|
||||
converter = convert.AbcIdConverter()
|
||||
for abc, id in samples.items():
|
||||
|
@ -19,13 +19,13 @@ def test_to_python():
|
|||
|
||||
def test_id_to_abc():
|
||||
samples = {
|
||||
1: 'B',
|
||||
24: 'Y',
|
||||
26: 'a',
|
||||
52: 'BA',
|
||||
78: 'Ba',
|
||||
104: 'CA',
|
||||
130: 'Ca',
|
||||
1: "B",
|
||||
24: "Y",
|
||||
26: "a",
|
||||
52: "BA",
|
||||
78: "Ba",
|
||||
104: "CA",
|
||||
130: "Ca",
|
||||
}
|
||||
converter = convert.AbcIdConverter()
|
||||
for id, abc in samples.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue