Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Jan 22, 2023
1 parent 1dc41f4 commit b35c9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ def main():
if os.WEXITSTATUS(status) != 0:
print(f"Flake8 linter errors with status {status}")
sys.exit(0)
additional_flags_second_step = (
'--exit-zero --max-complexity=10'
)
additional_flags_second_step = "--exit-zero --max-complexity=10"
if not os.path.exists("setup.cfg"):
pass
flake8_second_step_cmd = (
Expand Down
3 changes: 1 addition & 2 deletions spacepackets/ccsds/spacepacket.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def from_raw(cls, raw: int):


class PacketId:
"""The packet ID forms the last thirteen bits of the first two bytes of the space packet header.
"""
"""The packet ID forms the last thirteen bits of the first two bytes of the space packet header."""

def __init__(self, ptype: PacketType, sec_header_flag: bool, apid: int):
if apid > pow(2, 11) - 1 or apid < 0:
Expand Down

0 comments on commit b35c9b2

Please sign in to comment.