Removed extra f-strings
@@ -180,9 +180,9 @@ class ConstrainedNumberMeta(type):
new_cls = type.__new__(cls, name, bases, dct)
if new_cls.gt is not None and new_cls.ge is not None:
- raise errors.ConfigError(f'Bounds gt and ge cannot be specified at the same time.')
+ raise errors.ConfigError('bounds gt and ge cannot be specified at the same time')
if new_cls.lt is not None and new_cls.le is not None:
- raise errors.ConfigError(f'Bounds lt and le cannot be specified at the same time.')
+ raise errors.ConfigError('bounds lt and le cannot be specified at the same time')
return new_cls
