Skip to content

Commit 2a22c41

Browse files
committed
linting
1 parent 5c5611a commit 2a22c41

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

arcade/camera/default.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from typing import TYPE_CHECKING
44

55
from pyglet.math import Mat4
6+
67
from arcade.types import LBWH
78

89
from .viewport import ViewportProjector

arcade/camera/viewport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
__all__ = ("ViewportProjector",)
1717

18+
1819
class ViewportProjector:
1920
"""
2021
A simple Projector which does not rely on any camera PoDs.
@@ -95,4 +96,4 @@ def unproject(self, screen_coordinate: Point) -> Vec3:
9596
x, y, *_z = screen_coordinate
9697
z = 0.0 if not _z else _z[0]
9798

98-
return Vec3(x, y, z)
99+
return Vec3(x, y, z)

arcade/context.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def __init__(
5656
gc_mode: str = "context_gc",
5757
gl_api: str = "gl",
5858
) -> None:
59-
6059
super().__init__(window, gc_mode=gc_mode, gl_api=gl_api)
6160

6261
# Set up a default orthogonal projection for sprites and shapes
@@ -69,7 +68,6 @@ def __init__(
6968
self.current_camera: Projector = self._default_camera
7069

7170
self.viewport = (0, 0, window.width, window.height)
72-
7371

7472
# --- Pre-load system shaders here ---
7573
# FIXME: These pre-created resources needs to be packaged nicely
@@ -355,7 +353,7 @@ def default_atlas(self) -> TextureAtlasBase:
355353
)
356354

357355
return self._atlas
358-
356+
359357
@property
360358
def viewport(self) -> tuple[int, int, int, int]:
361359
"""

0 commit comments

Comments
 (0)