Skip to content

Commit

Permalink
fix pyright.reportRedeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas committed Oct 17, 2024
1 parent a141fc9 commit 33af4dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gymnasium/envs/box2d/lunar_lander.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def reset(
# Create Lander body
initial_y = VIEWPORT_H / SCALE
initial_x = VIEWPORT_W / SCALE / 2
self.lander: Box2D.b2Body = self.world.CreateDynamicBody(
self.lander = self.world.CreateDynamicBody(
position=(initial_x, initial_y),
angle=0.0,
fixtures=fixtureDef(
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ reportCallIssue = "none" # TODO fix one by one
reportOperatorIssue = "none" # TODO fix one by one
reportInvalidTypeForm = "none" # TODO fix one by one
reportOptionalMemberAccess = "none" # TODO fix one by one
reportRedeclaration = "none" # TODO fix one by one
reportAssignmentType = "none" # TODO fix one by one


Expand Down

0 comments on commit 33af4dc

Please sign in to comment.