diff --git a/tests/dwd/observations/test_api_data.py b/tests/dwd/observations/test_api_data.py index e8a18ddc7..f24d9a815 100644 --- a/tests/dwd/observations/test_api_data.py +++ b/tests/dwd/observations/test_api_data.py @@ -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, ) ] diff --git a/wetterdienst/dwd/observations/parser.py b/wetterdienst/dwd/observations/parser.py index d1657e9a4..8c51b3f75 100644 --- a/wetterdienst/dwd/observations/parser.py +++ b/wetterdienst/dwd/observations/parser.py @@ -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 ), } )