micropython/extmod/uasyncio
Christian Clauss 79e57473b2 all: Fix various Python coding inconsistencies found by ruff.
This fixes:
- type-comparison (E721): do not compare types, use isinstance().
- string-dot-format-missing-arguments (F524): .format call is missing
  argument(s) for placeholder(s): {message}.
- f-string-missing-placeholders (F541).
- is-literal (F632): Use != to compare constant literals.

The last one is fixed by just comparing for truthfulness of `state`.
2023-05-02 16:14:45 +10:00
..
__init__.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
core.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
event.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
funcs.py all: Fix various Python coding inconsistencies found by ruff. 2023-05-02 16:14:45 +10:00
lock.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
manifest.py all: Update all manifest.py files to use new features. 2022-09-05 18:43:18 +10:00
stream.py extmod/uasyncio: Fix syntax of generator functions. 2022-12-14 13:25:24 +11:00
task.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00