Skip to content

Commit

Permalink
STY: Fix flake8 errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
DWesl committed May 28, 2024
1 parent 5a663e1 commit 5d72db3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/metpy/calc/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import numpy.ma as ma
from pyproj import CRS, Geod, Proj
from scipy.spatial import cKDTree
from scipy.integrate import cumulative_trapezoid
from scipy.spatial import cKDTree
import xarray as xr

from .. import _warnings
Expand Down
4 changes: 2 additions & 2 deletions tests/calc/test_calc_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
import pytest
import xarray as xr

from metpy.calc import (angle_to_direction, find_bounding_indices, find_intersections,
from metpy.calc import (angle_to_direction, cumulative_integrate,

Check failure on line 15 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:15:1: I001 isort found an import in the wrong position
find_bounding_indices, find_intersections,

Check failure on line 16 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:16:1: I001 isort found an import in the wrong position
first_derivative, geospatial_gradient, get_layer, get_layer_heights,

Check failure on line 17 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:17:1: I001 isort found an import in the wrong position
gradient, laplacian, lat_lon_grid_deltas, nearest_intersection_idx,

Check failure on line 18 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:18:1: I001 isort found an import in the wrong position
parse_angle, pressure_to_height_std, reduce_point_density,

Check failure on line 19 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:19:1: I001 isort found an import in the wrong position
resample_nn_1d, second_derivative, vector_derivative)

Check failure on line 20 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I001 isort found an import in the wrong position Raw Output: ./tests/calc/test_calc_tools.py:20:1: I001 isort found an import in the wrong position
from metpy.calc.tools import (_delete_masked_points, _get_bound_pressure_height,

Check failure on line 21 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I005 isort found an unexpected missing import Raw Output: ./tests/calc/test_calc_tools.py:21:1: I005 isort found an unexpected missing import

Check failure on line 21 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I005 isort found an unexpected missing import Raw Output: ./tests/calc/test_calc_tools.py:21:1: I005 isort found an unexpected missing import

Check failure on line 21 in tests/calc/test_calc_tools.py

View workflow job for this annotation

GitHub Actions / Flake8

[flake8] reported by reviewdog 🐶 I005 isort found an unexpected missing import Raw Output: ./tests/calc/test_calc_tools.py:21:1: I005 isort found an unexpected missing import
_greater_or_close, _less_or_close, _next_non_masked_element,
_remove_nans, azimuth_range_to_lat_lon, BASE_DEGREE_MULTIPLIER,
cumulative_integrate,
DIR_STRS, nominal_lat_lon_grid_deltas, parse_grid_arguments, UND)
from metpy.testing import (assert_almost_equal, assert_array_almost_equal, assert_array_equal,
get_test_data)
Expand Down

0 comments on commit 5d72db3

Please sign in to comment.