Skip to content

Commit c763b82

Browse files
authored
Bump to ruff 0.8.2 (#3674)
1 parent a92d9d0 commit c763b82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies:
2727
# Dev dependencies (style checks)
2828
- codespell
2929
- pre-commit
30-
- ruff>=0.8.0
30+
- ruff>=0.8.2
3131
# Dev dependencies (unit testing)
3232
- matplotlib-base
3333
- pytest>=6.0

pygmt/tests/test_datasets_earth_vertical_gravity_gradient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_earth_vertical_gravity_gradient_01d():
2323
npt.assert_allclose(data.lon, np.arange(-180, 181, 1))
2424
npt.assert_allclose(data.min(), -40.1875, atol=1 / 32)
2525
npt.assert_allclose(data.max(), 45.96875, atol=1 / 32)
26-
assert data[1, 1].isnull() # noqa: PD003 # ruff's bug
26+
assert data[1, 1].isnull()
2727

2828

2929
def test_earth_vertical_gravity_gradient_01d_with_region():

0 commit comments

Comments
 (0)