Skip to content

Commit 00612b3

Browse files
build(deps-dev): bump ruff from 0.0.282 to 0.0.283 (#1200)
* build(deps-dev): bump ruff from 0.0.282 to 0.0.283 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.282 to 0.0.283. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](astral-sh/ruff@v0.0.282...v0.0.283) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix, tests: use isinstance --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
1 parent 381cf89 commit 00612b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test = [
6464
"pytest-mock~=3.10",
6565
"pytest-recording~=0.12",
6666
"pytest~=7.3",
67-
"ruff==0.0.282",
67+
"ruff==0.0.283",
6868
"types-html5lib~=1.1",
6969
"types-orjson~=3.6",
7070
"types-python-dateutil~=2.8",

tests/test_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_spatial_extent_from_coordinates(self) -> None:
6161
bbox = extent.bboxes[0]
6262
self.assertEqual(len(bbox), 4)
6363
for x in bbox:
64-
self.assertTrue(type(x) is float)
64+
self.assertTrue(isinstance(x, float))
6565

6666
def test_read_eo_items_are_heritable(self) -> None:
6767
cat = TestCases.case_5()

0 commit comments

Comments
 (0)