Skip to content

Commit

Permalink
Run ruff check --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaily committed Dec 23, 2024
1 parent dddb093 commit dd004a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awscli/customizations/ec2/paginate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def register_ec2_page_size_injector(event_emitter):
EC2PageSizeInjector().register(event_emitter)


class EC2PageSizeInjector(object):
class EC2PageSizeInjector:

# Operations to auto-paginate and their specific whitelists.
# Format:
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/ec2instanceconnect/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _write_data_from_input(self):

try:
data = self.websocketio.read(self._MAX_BYTES_PER_FRAME)
except InputClosedError as e:
except InputClosedError:
logger.debug('Input closed. Shutting down websocket.')
self.close()

Expand Down

0 comments on commit dd004a9

Please sign in to comment.