Skip to content

Commit c9cf7b4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 511028f commit c9cf7b4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/simple.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
standard output.
44
"""
55

6-
from py4j.java_gateway import JavaGateway
7-
86
from asphalt.core import CLIApplicationComponent, Context, run_application
7+
from py4j.java_gateway import JavaGateway
98

109

1110
class ApplicationComponent(CLIApplicationComponent):

src/asphalt/py4j/component.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from typing import Any, Iterable, cast
99

1010
from asphalt.core import Component, Context, context_teardown
11+
1112
from py4j.java_gateway import (
1213
CallbackServerParameters,
1314
GatewayParameters,

tests/test_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from typing import Any
66

77
import pytest
8+
from asphalt.core.context import Context
89
from py4j.java_gateway import CallbackServerParameters, GatewayParameters, JavaGateway
910
from pytest import LogCaptureFixture
1011

1112
import asphalt.py4j
12-
from asphalt.core.context import Context
1313
from asphalt.py4j.component import Py4JComponent
1414

1515

0 commit comments

Comments
 (0)