Skip to content

Commit 1328cca

Browse files
committed
improved types slightly
1 parent 789d83c commit 1328cca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymunk/pyglet_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import math
3636
from typing import TYPE_CHECKING, Any, List, Optional, Sequence, Type
3737

38-
import pyglet # type: ignore
38+
import pyglet # type:ignore
3939

4040
import pymunk
4141
from pymunk.space_debug_draw_options import SpaceDebugColor
@@ -123,9 +123,9 @@ def draw_circle(
123123
)
124124
self.draw_shapes.append(c)
125125
cc = pos + Vec2d(radius, 0).rotated(angle)
126-
c = outline_color.as_int()
126+
color = outline_color.as_int()
127127
l = pyglet.shapes.Line(
128-
pos.x, pos.y, cc.x, cc.y, width=1, color=c, batch=self.batch, group=fg
128+
pos.x, pos.y, cc.x, cc.y, width=1, color=color, batch=self.batch, group=fg
129129
)
130130
self.draw_shapes.append(l)
131131

0 commit comments

Comments
 (0)