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 62b13c9 commit e6b7dc3Copy full SHA for e6b7dc3
.pre-commit-config.yaml
@@ -1,6 +1,6 @@
1
repos:
2
- repo: https://github.com/astral-sh/ruff-pre-commit
3
- rev: v0.4.1
+ rev: v0.13.0
4
hooks:
5
# Performs ruff check with safe fixes
6
- id: ruff
guardrails/validator_base.py
@@ -160,9 +160,9 @@ def __init__(
160
# Store the kwargs for the validator.
161
self._kwargs = kwargs
162
163
- assert (
164
- self.rail_alias in validators_registry
165
- ), f"Validator {self.__class__.__name__} is not registered. "
+ assert self.rail_alias in validators_registry, (
+ f"Validator {self.__class__.__name__} is not registered. "
+ )
166
167
@property
168
@deprecated(
0 commit comments