Skip to content

Commit aee6df9

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

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

swapi/film.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
@strawberry.type
23-
class FilmSpeciesEdge(SpeciesEdge):
24-
...
23+
class FilmSpeciesEdge(SpeciesEdge): ...
2524

2625

2726
@strawberry.type
@@ -33,8 +32,7 @@ class FilmSpeciesConnection:
3332

3433

3534
@strawberry.type
36-
class FilmStarshipsEdge(StarshipsEdge):
37-
...
35+
class FilmStarshipsEdge(StarshipsEdge): ...
3836

3937

4038
@strawberry.type
@@ -46,8 +44,7 @@ class FilmStarshipsConnection:
4644

4745

4846
@strawberry.type
49-
class FilmVehiclesEdge(VehiclesEdge):
50-
...
47+
class FilmVehiclesEdge(VehiclesEdge): ...
5148

5249

5350
@strawberry.type
@@ -59,8 +56,7 @@ class FilmVehiclesConnection:
5956

6057

6158
@strawberry.type
62-
class FilmPlanetsEdge(PlanetsEdge):
63-
...
59+
class FilmPlanetsEdge(PlanetsEdge): ...
6460

6561

6662
@strawberry.type

swapi/people.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717

1818
@strawberry.type
19-
class PersonFilmsEdge(FilmsEdge):
20-
...
19+
class PersonFilmsEdge(FilmsEdge): ...
2120

2221

2322
@strawberry.type
@@ -29,8 +28,7 @@ class PersonFilmsConnection:
2928

3029

3130
@strawberry.type
32-
class PersonStarshipsEdge(StarshipsEdge):
33-
...
31+
class PersonStarshipsEdge(StarshipsEdge): ...
3432

3533

3634
@strawberry.type
@@ -42,8 +40,7 @@ class PersonStarshipsConnection:
4240

4341

4442
@strawberry.type
45-
class PersonVehiclesEdge(VehiclesEdge):
46-
...
43+
class PersonVehiclesEdge(VehiclesEdge): ...
4744

4845

4946
@strawberry.type

swapi/utils/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def get_connection_object(
6464
first: int | None = strawberry.UNSET,
6565
last: int | None = strawberry.UNSET,
6666
attribute_name: str | None = None,
67-
additional_filters: dict[str, Any] | None = None
67+
additional_filters: dict[str, Any] | None = None,
6868
):
6969
"""Returns a ConnectionType instance based on EdgeType and the passed params.
7070

0 commit comments

Comments
 (0)