mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add isort pre-commit hook, sort imports in src and test directories
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user