Skip to content

Commit de5d085

Browse files
committed
fix: linter problens
1 parent 3dc1a81 commit de5d085

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

statemachine/state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
from typing import Any, Optional # noqa: F401, I001
21
from copy import deepcopy
2+
from typing import Any
33

44
from .callbacks import Callbacks
55
from .exceptions import StateMachineError
6+
from .i18n import _
67
from .transition import Transition
78
from .transition_list import TransitionList
8-
from .i18n import _
99

1010

1111
class State:

statemachine/statemachine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from .transition import Transition
1919

2020
if TYPE_CHECKING:
21-
from .state import State # noqa: F401
21+
from .state import State
2222

2323

2424
class StateMachine(metaclass=StateMachineMetaclass):

tests/test_statemachine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_machine_should_be_at_start_state(campaign_machine):
2828
"add_job",
2929
"deliver",
3030
"produce",
31-
] # noqa: E501
31+
]
3232

3333
assert model.state == "draft"
3434
assert machine.current_state == machine.draft

0 commit comments

Comments
 (0)