Skip to content

Commit

Permalink
chore(ruff): clean whitespace and remove unrecognized noqa directive.
Browse files Browse the repository at this point in the history
  • Loading branch information
rouilj committed Dec 11, 2024
1 parent 16a750d commit 3a056b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roundup/cgi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ def handle_action(self):
if isinstance(action, list):
raise SeriousError(
self._('broken form: multiple @action values submitted'))

action = action.value.lower()

try:
Expand Down
2 changes: 1 addition & 1 deletion roundup/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def props_from_args(self, cl, args, itemid=None, skip_protected=True):
elif key not in unprotected_class_props:
# report bad props as this is an error.
raise UsageError("Property %s not found in class %s" % (key,
cl.classname)) # noqa: E128
cl.classname))
props[key] = self.prop_from_arg(cl, key, value, itemid)

return props
Expand Down

0 comments on commit 3a056b3

Please sign in to comment.