Skip to content

Commit

Permalink
Fix W0223
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Mar 24, 2024
1 parent 2e9f7b3 commit a3be556
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# W0401: Wildcard import
# R1725: Super with arguments
# W0237: Renamed arguments
# W0223: Abstract method is not overridden
# W0613: Unused argument
# W0511: TODO
# C0103: Variable name doesn't conform to naming style
Expand Down Expand Up @@ -58,7 +57,7 @@

max-line-length = 120
disable = C0114, C0115, C0116, R0903, C0415, R0913, W1203, R1729, E1120, E1123, C0209, R1710, W0621,
W0614, W0401, W1202, W0718, R0914, R1725, C0411, W0237, W0702, W0223, W0613,
W0614, W0401, W1202, W0718, R0914, R1725, C0411, W0237, W0702, W0613,
R0912, R0911, W0511, R0902, C0412, C0103, C0301, R0915, W1514,
E1101, W1201,
E0401, W0212, R0904, W0101,
Expand Down
3 changes: 2 additions & 1 deletion pros/cli/click_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class PROSCommand(PROSFormatted, click.Command):

# Seems to be unused?
class PROSMultiCommand(PROSFormatted, click.MultiCommand):
pass
def get_command(self, ctx: click.Context, cmd_name: str) -> Optional[click.Command]:
pass


class PROSOption(click.Option):
Expand Down
4 changes: 4 additions & 0 deletions pros/serial/devices/vex/stm32_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from pros.common import ui
from pros.common import logger, retries
from pros.conductor import Project
from pros.serial import bytes_to_str
from pros.serial.devices.vex import VEXCommError
from pros.serial.ports import BasePort
Expand Down Expand Up @@ -189,3 +190,6 @@ def _txrx_command(self, command: Union[int, bytes], timeout: float = 0.01, check
if data[0] == self.ACK_BYTE:
return
raise VEXCommError(f"Device never ACK'd to {command}", command)

def upload_project(self, project: Project, **kwargs):
pass
4 changes: 4 additions & 0 deletions pros/serial/ports/serial_share_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ def _kick_watchdog(self):
self.to_device_sock.send_multipart([b'kick'])
self.alive.wait(2.5)
logger(__name__).info('Watchdog kicker is dying')

@property
def name(self):
pass

0 comments on commit a3be556

Please sign in to comment.