Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 1dee86c commit 5517d63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gcn_classic_to_json/notices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def parse(key, value):
ints[1] # Unused. According to docs: 'Generally set to 1.'
ints[2] # Unused. According to docs: 'hopcount item is defunct'.
ints[3] # Unused. According to docs: 'seconds of day when packet was created'.
assert (
ints[-1] == np.asarray("\0\0\0\n", dtype="c").view(">i4")[0]
), "Field 39 must be a newline"
assert ints[-1] == np.asarray("\0\0\0\n", dtype="c").view(">i4")[0], (
"Field 39 must be a newline"
)
parser = _parsers[key]
return parser(ints)

0 comments on commit 5517d63

Please sign in to comment.