Bump versions of pycodestyle and pep8-naming

This commit is contained in:
Raphael Michel
2022-02-13 20:39:31 +01:00
parent a307cf8934
commit a37ed6f001
16 changed files with 65 additions and 65 deletions

View File

@@ -221,7 +221,7 @@ class CheckinList(LoggedModel):
return rules
if operator in ('or', 'and') and seen_nonbool:
raise ValidationError(f'You cannot use OR/AND logic on a level below a comparison operator.')
raise ValidationError('You cannot use OR/AND logic on a level below a comparison operator.')
for v in values:
cls.validate_rules(v, seen_nonbool=seen_nonbool or operator not in ('or', 'and'), depth=depth + 1)