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,12 +1,11 @@
|
||||
import pytest
|
||||
|
||||
from textual.geometry import Size
|
||||
from textual.layouts.grid import GridLayout
|
||||
from textual.layouts.horizontal import HorizontalLayout
|
||||
from textual.layouts.vertical import VerticalLayout
|
||||
from textual.geometry import Size
|
||||
from textual.widget import Widget
|
||||
|
||||
|
||||
LAYOUTS = [GridLayout, HorizontalLayout, VerticalLayout]
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import pytest
|
||||
|
||||
from textual.layouts.factory import get_layout, MissingLayout
|
||||
from textual.layouts.factory import MissingLayout, get_layout
|
||||
from textual.layouts.vertical import VerticalLayout
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user