Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgarde committed Jun 12, 2024
1 parent 58460ba commit ad9dc65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions podaac/swodlr_raster_create/preflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def _find_cmr_granules(cycle, passe, scene) -> tuple[Granule, Granule]:
},

'orbitParams': {
'collectionConceptId': XDF_ORBIT_1_0_CONCEPT_ID if passe >= 400 \
else XDF_ORBIT_2_0_CONCEPT_ID,
'collectionConceptId': XDF_ORBIT_1_0_CONCEPT_ID if passe >= 400
else XDF_ORBIT_2_0_CONCEPT_ID,
'sortKey': '-end_date',
'limit': 1
}
Expand Down
6 changes: 3 additions & 3 deletions tests/test_preflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def test_no_action(self):
'limit': 100
},
'orbitParams': {
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id',
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501
'sortKey': '-end_date',
'limit': 1
}
Expand Down Expand Up @@ -349,7 +349,7 @@ def test_clear_sds(self):
'limit': 100
},
'orbitParams': {
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id',
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501
'sortKey': '-end_date',
'limit': 1
}
Expand Down Expand Up @@ -516,7 +516,7 @@ def test_ingest_new(self):
'limit': 100
},
'orbitParams': {
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id',
'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501
'sortKey': '-end_date',
'limit': 1
}
Expand Down

0 comments on commit ad9dc65

Please sign in to comment.