Skip to content

Commit e6b7dc3

Browse files
committed
autoformat
1 parent 62b13c9 commit e6b7dc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.4.1
3+
rev: v0.13.0
44
hooks:
55
# Performs ruff check with safe fixes
66
- id: ruff

guardrails/validator_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ def __init__(
160160
# Store the kwargs for the validator.
161161
self._kwargs = kwargs
162162

163-
assert (
164-
self.rail_alias in validators_registry
165-
), f"Validator {self.__class__.__name__} is not registered. "
163+
assert self.rail_alias in validators_registry, (
164+
f"Validator {self.__class__.__name__} is not registered. "
165+
)
166166

167167
@property
168168
@deprecated(

0 commit comments

Comments
 (0)