mirror of
https://github.com/matomo-org/matomo-icons.git
synced 2024-09-20 18:13:43 +02:00
15 lines
356 B
Python
15 lines
356 B
Python
|
import yaml
|
||
|
|
||
|
with open("tests-ignore.yml") as f:
|
||
|
data = yaml.safe_load(f)
|
||
|
|
||
|
le = data["less_important_device_detector_icons"] # type:dict
|
||
|
|
||
|
for category, namelist in le.items():
|
||
|
print([type(a) for a in namelist])
|
||
|
print(namelist)
|
||
|
namelist.sort(key=lambda s: s.casefold())
|
||
|
|
||
|
with open("tests-ignore.yml", "w") as f:
|
||
|
yaml.safe_dump(data, f)
|