bindings: python: tests: clean up imports and exports
authorVincent Fazio <vfazio@xes-inc.com>
Thu, 14 Nov 2024 14:51:09 +0000 (08:51 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 19 Nov 2024 14:21:01 +0000 (15:21 +0100)
commit171577eb41f916b77772346c6fe12defea626793
tree16863e7ccefe2f0a72a284b3051d49a3a0e8030a
parent0f40c01a09c2aec7319fedf82eb171a37663912b
bindings: python: tests: clean up imports and exports

Remove unused imports and sort the remainder following isort rules.

Update the submodules to use `__all__` to advertise available imports.

Remove an unnecessary blank line in the VersionString class to abide by
the ruff formatter's rules (compatible with black's formatting).

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://lore.kernel.org/r/20241114145116.2123714-17-vfazio@xes-inc.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
14 files changed:
bindings/python/tests/__init__.py
bindings/python/tests/__main__.py
bindings/python/tests/gpiosim/__init__.py
bindings/python/tests/gpiosim/chip.py
bindings/python/tests/procname/__init__.py
bindings/python/tests/tests_chip.py
bindings/python/tests/tests_chip_info.py
bindings/python/tests/tests_edge_event.py
bindings/python/tests/tests_info_event.py
bindings/python/tests/tests_line.py
bindings/python/tests/tests_line_info.py
bindings/python/tests/tests_line_request.py
bindings/python/tests/tests_line_settings.py
bindings/python/tests/tests_module.py