We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a13a26 commit ed1d152Copy full SHA for ed1d152
deepl/api_data.py
@@ -221,9 +221,7 @@ def valid(self) -> bool:
221
def limit_reached(self) -> bool:
222
"""True if this limit is valid and the amount used is greater than
223
or equal to the amount allowed, otherwise False."""
224
- return (
225
- self.valid and self.count >= self.limit
226
- ) # type: ignore[operator]
+ return self.valid and self.count >= self.limit # type: ignore[operator] # noqa: E501
227
228
@property
229
def limit_exceeded(self) -> bool:
0 commit comments