Skip to content

Commit 6739fdf

Browse files
Merge pull request #2373 from VWS-Python/dependabot/pip/pylint-3.3.0
Bump pylint from 3.2.7 to 3.3.0
2 parents 38dfd70 + bf8f439 commit 6739fdf

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def pytest_collection_modifyitems(items: list[pytest.Item]) -> None:
3030
@pytest.fixture(name="make_image_file")
3131
def fixture_make_image_file(
3232
high_quality_image: io.BytesIO,
33-
) -> Generator[None, None, None]:
33+
) -> Generator[None]:
3434
"""
3535
Make an image file available in the test directory.
3636
The path of this file matches the path in the documentation.
@@ -45,7 +45,7 @@ def fixture_make_image_file(
4545
@pytest.fixture(name="mock_vws")
4646
def fixture_mock_vws(
4747
monkeypatch: pytest.MonkeyPatch,
48-
) -> Generator[None, None, None]:
48+
) -> Generator[None]:
4949
"""
5050
Yield a mock VWS.
5151

docs/source/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
Configuration for Sphinx.
44
"""
55

6-
# pylint: disable=invalid-name
7-
86
import datetime
97
import importlib.metadata
108

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ optional-dependencies.dev = [
5252
"pydocstyle==6.3",
5353
"pyenchant==3.2.2",
5454
"pygments==2.18.0",
55-
"pylint==3.2.7",
55+
"pylint==3.3.0",
5656
"pylint-per-file-ignores==1.3.2",
5757
"pyproject-fmt==2.2.4",
5858
"pyright==1.1.381",

src/vws/vws.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ def get_duplicate_targets(self, target_id: str) -> list[str]:
633633

634634
def update_target(
635635
self,
636+
*,
636637
target_id: str,
637638
name: str | None = None,
638639
width: float | None = None,

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
@pytest.fixture(name="_mock_database")
18-
def fixture_mock_database() -> Generator[VuforiaDatabase, None, None]:
18+
def fixture_mock_database() -> Generator[VuforiaDatabase]:
1919
"""
2020
Yield a mock ``VuforiaDatabase``.
2121
"""
@@ -53,7 +53,7 @@ def fixture_image_file(
5353
high_quality_image: io.BytesIO,
5454
tmp_path: Path,
5555
request: pytest.FixtureRequest,
56-
) -> Generator[BinaryIO, None, None]:
56+
) -> Generator[BinaryIO]:
5757
"""An image file object."""
5858
file = tmp_path / "image.jpg"
5959
buffer = high_quality_image.getvalue()

0 commit comments

Comments
 (0)