Skip to content

Commit

Permalink
Satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 25, 2020
1 parent 946ca29 commit a126511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_dwd_observation_data_parameter():

assert request.parameters == [
(
DWDObservationParameterSetStructure.DAILY.CLIMATE_SUMMARY.PRECIPITATION_HEIGHT, # Noqa: E501
DWDObservationParameterSetStructure.DAILY.CLIMATE_SUMMARY.PRECIPITATION_HEIGHT, # noqa: B950, E501
DWDObservationParameterSet.CLIMATE_SUMMARY,
)
]
Expand Down
2 changes: 1 addition & 1 deletion wetterdienst/dwd/observations/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _parse_climate_observations_data(
data = data.rename(
columns={
"MESS_DATUM_WOZ": (
DWDObservationParameterSetStructure.HOURLY.SOLAR.TRUE_LOCAL_TIME.value # Noqa: E501
DWDObservationParameterSetStructure.HOURLY.SOLAR.TRUE_LOCAL_TIME.value # noqa: B950, E501
),
}
)
Expand Down

0 comments on commit a126511

Please sign in to comment.