Skip to content

Commit 6dfe590

Browse files
committed
Add # noqa to handle flake8 bad quotes
1 parent 60bfd18 commit 6dfe590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

odm2api/services/readService.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def getResults(self, ids=None, restype=None, uuids=None, actionid=None, simulati
799799
query = query.join(FeatureActions).filter_by(ActionID=actionid)
800800
if 'sfid' in kwargs:
801801
warnings.warn("The parameter 'sfid' is deprecated. " +
802-
"Please use the sfids parameter instead and send in a list.",
802+
"Please use the sfids parameter instead and send in a list.", # noqa
803803
DeprecationWarning, stacklevel=2)
804804
if kwargs['sfid']:
805805
query = query.join(FeatureActions).filter_by(SamplingFeatureID=kwargs['sfid'])
@@ -1415,9 +1415,9 @@ def getResultValues(self, resultids, starttime=None, endtime=None, lowercols=Tru
14151415
df.columns = [self._get_columns(ResultValues)[c] for c in df.columns]
14161416
else:
14171417
warnings.warn(
1418-
"In a near-future release, " +
1418+
"In a near-future release, " + # noqa
14191419
"the parameter 'lowercols' default will be changed to False, " +
1420-
"and later the parameter may be removed.",
1420+
"and later the parameter may be removed.", # noqa
14211421
DeprecationWarning, stacklevel=2)
14221422
return df
14231423
except Exception as e:

0 commit comments

Comments
 (0)