Skip to content

Commit

Permalink
removing unnecessary pylint disables
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and frankinspace committed Oct 18, 2023
1 parent 7316eab commit 60e535d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hydrocron_api/controllers/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"}
Expand Down

0 comments on commit 60e535d

Please sign in to comment.