Clean up code and implement best practices #27

Merged
Vinalti merged 3 commits from best-practices into master 2023-05-01 18:57:55 +02:00

3 commits

Author SHA1 Message Date
Vinalti
9e5427a229
little fix 2023-05-01 09:37:14 +02:00
Vinalti
c7cc16f1cd
improve compatibility with previous python versions with Typing 2023-05-01 09:31:19 +02:00
Vinalti
9a7f4287f3
clean up code and implement best practices:
- `type(a) == list` replace with `isinstance(a, list)`
 - `adict['key']` replaced with `adict.get('key')`
 - annotation `-> list` replace by more accurate `-> list[dict]`
2023-04-28 01:21:15 +02:00