diff --git a/hcloud/servers/client.py b/hcloud/servers/client.py index 68cbb9ce..ce5a72c0 100644 --- a/hcloud/servers/client.py +++ b/hcloud/servers/client.py @@ -348,11 +348,11 @@ def create_image( self, description=description, type=type, labels=labels ) + # pylint: disable=unused-argument def rebuild( self, image: Image | BoundImage, user_data: str | None = None, - # pylint: disable=unused-argument **kwargs: Any, ) -> RebuildResponse: """Rebuilds a server overwriting its disk with the content of an image, thereby destroying all data on the target server. @@ -1016,12 +1016,12 @@ def create_image( image=BoundImage(self._parent.images, response["image"]), ) + # pylint: disable=unused-argument def rebuild( self, server: Server | BoundServer, image: Image | BoundImage, user_data: str | None = None, - # pylint: disable=unused-argument **kwargs: Any, ) -> RebuildResponse: """Rebuilds a server overwriting its disk with the content of an image, thereby destroying all data on the target server. diff --git a/setup.py b/setup.py index 9412b104..f69324fc 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ ], "test": [ "coverage>=7.16,<7.17", - "pylint>=4,<4.1", + "pylint>=4,<4.2", "pytest>=9,<9.2", "pytest-cov>=7,<7.2", "mypy>=2.3,<2.4",