Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 29, 2024
1 parent 48fa15e commit e4943df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drf_standardized_errors/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def user_settings(self) -> Dict[str, Any]:

def __getattr__(self, attr: str) -> Any:
if attr not in self.defaults:
raise AttributeError("Invalid API setting: '%s'" % attr)
raise AttributeError(f"Invalid API setting: '{attr}'")

try:
# Check if present in user settings
Expand Down

0 comments on commit e4943df

Please sign in to comment.