Skip to content

Commit

Permalink
templates: Ignore unknown RUF052
Browse files Browse the repository at this point in the history
ruff 0.7 in Fedora does not yet know this rule, but we want to keep it
for ruff 0.8.
  • Loading branch information
martinpitt committed Dec 18, 2024
1 parent ae21cd9 commit 75c67db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbusmock/templates/upower.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def AddChargingBattery(self, device_name, model_name, percentage, seconds_to_ful
@dbus.service.method(MOCK_IFACE, in_signature="uuddddxxbsu", out_signature="")
def SetupDisplayDevice(
self,
_type, # noqa: RUF052 (access to local dummy variable); but this is API now
_type, # noqa: RUF052, RUF100 (access to local dummy variable); but this is API now
state,
percentage,
energy,
Expand Down

0 comments on commit 75c67db

Please sign in to comment.