Skip to content

Commit f5f9126

Browse files
Bump ruff from 0.3.0 to 0.3.2 (#300)
* Bump ruff from 0.3.0 to 0.3.2 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to 0.3.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.3.0...v0.3.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump ruff from 0.3.0 to 0.3.2 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to 0.3.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.3.0...v0.3.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * apply changed ruff rule --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcel van der Veldt <[email protected]>
1 parent 0d7e2b9 commit f5f9126

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

aioslimproto/discovery.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ def __init__(self, data: bytes) -> None:
5151

5252
def __repr__(self) -> str:
5353
"""Print the class contents."""
54-
return "<{} device={!r} firmware={!r} client={!r}>".format(
55-
self.__class__.__name__,
56-
self.device,
57-
self.firmware,
58-
self.client,
59-
)
54+
return f"<{self.__class__.__name__} device={self.device!r} firmware={self.firmware!r} client={self.client!r}>"
6055

6156

6257
class TLVDiscoveryRequestDatagram:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test = [
3535
"pytest-asyncio==0.23.5.post1",
3636
"pytest-aiohttp==1.0.5",
3737
"pytest-cov==4.1.0",
38-
"ruff==0.3.0",
38+
"ruff==0.3.2",
3939
"safety==3.0.1",
4040
"tomli==2.0.1",
4141
]

0 commit comments

Comments
 (0)