From df1e0550b1160408f9228f368aeede86af504af1 Mon Sep 17 00:00:00 2001 From: Haoyu Zhuang Date: Thu, 15 Sep 2022 20:34:45 -0400 Subject: [PATCH] Fix linting issues --- src/metpy/calc/thermo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index f1f553e7d8a..ea76566d16a 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -470,8 +470,8 @@ def ccl(pressure, temperature, dewpoint, height=None, mixed_layer_depth=None, wh Dewpoint at the levels given by `pressure` height : `pint.Quantity`, optional - Atmospheric heights at the levels given by `pressure`. Only needed when specifying a mixed layer - depth as a height. + Atmospheric heights at the levels given by `pressure`. Only needed when + specifying a mixed layer depth as a height. mixed_layer_depth : `pint.Quantity`, optional The thickness of the mixed layer as a pressure or height above the bottom @@ -538,8 +538,8 @@ def ccl(pressure, temperature, dewpoint, height=None, mixed_layer_depth=None, wh elif which == 'bottom': x, y = x[0], y[0] elif which not in ['top', 'bottom', 'all']: - raise ValueError(f'Invalid option for "which": {which}. Valid options are "top", "bottom", ' - 'and "all".') + raise ValueError(f'Invalid option for "which": {which}. Valid options are ' + '"top", "bottom", and "all".') x, y = x.to(pressure.units), y.to(temperature.units) return x, y, potential_temperature(x, y).to(temperature.units)