mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Removed extra f-strings (#196)
This commit is contained in:
committed by
Samuel Colvin
parent
3ef595556c
commit
10be4dc0bc
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user