Skip to content

Commit ce17123

Browse files
committed
pybricks._common: remove type hint for integral_range()
This was removed in e061617. Also fix import of Axis while we are touching this file.
1 parent f2346df commit ce17123

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/pybricks/_common.pyi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: MIT
2-
# Copyright (c) 2020 The Pybricks Authors
2+
# Copyright (c) 2020-2021 The Pybricks Authors
33

4-
from pybricks.geometry import Matrix, vector
5-
from typing import Collection, Iterable, List, Optional, Tuple, Union, overload
4+
from typing import Collection, Iterable, Optional, Tuple, Union, overload
65

7-
from .parameters import Button, Color, Direction, Side, Stop, Port, Axis
6+
from .geometry import Axis, Matrix, vector
7+
from .parameters import Button, Color, Direction, Side, Stop, Port
88
from .media.ev3dev import SoundFile
99

1010
class DCMotor:
@@ -32,7 +32,6 @@ class Control:
3232
kp: Optional[int] = None,
3333
ki: Optional[int] = None,
3434
kd: Optional[int] = None,
35-
integral_range: Optional[int] = None,
3635
integral_rate: Optional[int] = None,
3736
) -> None: ...
3837
@overload

0 commit comments

Comments
 (0)