Skip to content

Commit

Permalink
Flake8 errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Mar 4, 2024
1 parent 62fa5fb commit d408a67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wis2box-management/wis2box/data/bufr4.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ def transform_message(self, bufr_in: int) -> None:

# set the replication factors, this needs to be done before
# setting the unexpanded descriptors
if (31000 in descriptors) and (len(short_replication_factors)>0):
if (31000 in descriptors) and (len(short_replication_factors) > 0): # noqa
codes_set_array(subset_out, "inputShortDelayedDescriptorReplicationFactor", short_replication_factors) # noqa
if (31001 in descriptors) and (len(replication_factors)>0):
if (31001 in descriptors) and (len(replication_factors) > 0):
codes_set_array(subset_out, "inputDelayedDescriptorReplicationFactor", replication_factors) # noqa
if (31002 in descriptors) and (len(extended_replication_factors)>0):
if (31002 in descriptors) and (len(extended_replication_factors) > 0): # noqa
codes_set_array(subset_out, "inputExtendedDelayedDescriptorReplicationFactor", extended_replication_factors) # noqa

# we need to copy all the headers, not just the
Expand Down

0 comments on commit d408a67

Please sign in to comment.