Skip to content

Commit 87f4562

Browse files
committed
style: fix import ordering in examples
1 parent 03aa5b1 commit 87f4562

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docs: update
2727

2828
#: format all source files
2929
format:
30-
poetry run shed --refactor --py310-plus src/**/*.py tests/*.py
30+
poetry run shed --refactor --py310-plus src/**/*.py tests/*.py examples/*.py
3131

3232
#: list avalible make targets
3333
help:

examples/simple.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"""
44

55
import typing
6-
import quart
6+
77
import injector
8+
import quart
9+
810
import quart_injector
911

1012
Greeting = typing.NewType("Greeting", str)

examples/view_class.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"""
44

55
import typing
6+
7+
import injector
68
import quart
79
import quart.views
8-
import injector
9-
import quart_injector
1010

11+
import quart_injector
1112

1213
Greeting = typing.NewType("Greeting", str)
1314

0 commit comments

Comments
 (0)