Add isort pre-commit hook, sort imports in src and test directories

This commit is contained in:
Darren Burns
2023-02-09 13:28:08 +00:00
parent 67c2127e46
commit 9287f64a66
131 changed files with 268 additions and 297 deletions

View File

@@ -1,6 +1,6 @@
import pytest
from textual.widget import Widget, MountError
from textual.widget import MountError, Widget
class Content(Widget):
@@ -12,7 +12,6 @@ class Body(Widget):
def test_find_dom_spot():
# Build up a "fake" DOM for an application.
screen = Widget(name="Screen")
header = Widget(name="Header", id="header")