From 60e535dd48eed40bf86313a3f404afabf258585c Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 18 Oct 2023 10:59:06 -0700 Subject: [PATCH] removing unnecessary pylint disables --- hydrocron_api/controllers/timeseries.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hydrocron_api/controllers/timeseries.py b/hydrocron_api/controllers/timeseries.py index 61e192c9..7f55e8de 100644 --- a/hydrocron_api/controllers/timeseries.py +++ b/hydrocron_api/controllers/timeseries.py @@ -13,7 +13,7 @@ logger = logging.getLogger() -def gettimeseries_get(feature, feature_id, start_time, end_time, output, fields): # noqa: E501 # pylint: disable=R0913 +def gettimeseries_get(feature, feature_id, start_time, end_time, output, fields): # noqa: E501 """Get Timeseries for a particular Reach, Node, or LakeID Get Timeseries for a particular Reach, Node, or LakeID # noqa: E501 @@ -57,7 +57,7 @@ def gettimeseries_get(feature, feature_id, start_time, end_time, output, fields) return data -def format_json(results: Generator, feature_id, start_time, end_time, exact, dataTime): # noqa: E501 # pylint: disable=W0613, R0913 +def format_json(results: Generator, feature_id, start_time, end_time, exact, dataTime): # noqa: E501 # pylint: disable=W0613 """ Parameters @@ -93,7 +93,7 @@ def format_json(results: Generator, feature_id, start_time, end_time, exact, dat # TODO: process type of feature_id (i.e. reach_id or node_id) for t in results: - # TODO: Coordinate to filter in the database instance: # pylint: disable=W0511 + # TODO: Coordinate to filter in the database instance: # if t['reach_id'] == feature_id and t['time'] > start_time and t['time'] < end_time and t['time'] != '-999999999999': # and (t['width'] != '-999999999999')): if t['reach_id'] == feature_id and t['time'] != '-999999999999': # and (t['width'] != '-999999999999')): feature = {'properties': {}, 'geometry': {}, 'type': "Feature"}