Skip to content

Commit

Permalink
Fix E1111
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Mar 4, 2024
1 parent bbe03fe commit 2ced5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
# W0246: Useless parent delegation
# W0622: Redefining built-in
# W0221: Arguments number differs from overridden method
# E1111: Assigning to function call which doesn't return
# E0401: Unable to import
# W0212: Access to a protected member
# W0101: Unreachable code
Expand Down Expand Up @@ -92,5 +91,5 @@ disable = C0114, C0115, C0116, R0903, C0415, R1705, R0913, W1203, R1729, E1120
W0614, W0401, W1202, C0117, W0718, R0205, R0402, R0914, R1725, R1735, C0411, W0237, W0702, W0223, W0613,
W0108, R0912, R0911, W0511, E1136, R0902, W0611, C0412, C0103, C0301, R1732, R0915, W1514, R1718, W1510,
E0602, W1309, C0325, E1101, R1714, R0916, W0719, R1734, E1133, W1201, W0107, W3101, W0640, C0201, W1113,
W0246, W0622, W0221, E1111, E0401, W0212, R0904, W0101,
W0246, W0622, W0221, E0401, W0212, R0904, W0101,
C0302, E0110, W0603, R0401, C0303
3 changes: 1 addition & 2 deletions pros/serial/devices/vex/cortex_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@ def write_program(self, file: typing.BinaryIO, **kwargs):
self.send_to_download_channel()

bootloader = self.expose_bootloader()
rv = bootloader.write_program(file, **kwargs)
bootloader.write_program(file, **kwargs)

ui.finalize('upload', f'Finished uploading {action_string}')
return rv

@retries
def query_system(self) -> SystemStatus:
Expand Down

0 comments on commit 2ced5b4

Please sign in to comment.