Skip to content

Commit

Permalink
chore: Remove common noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 14, 2024
1 parent 06a32df commit f35c926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def _link(name, fields, text):

match len(occurrences):
case 0:
raise ValueError(f"Field {name} not in schema") # noqa: TRY003
raise ValueError(f"Field {name} not in schema")
case 1:
choice = 0
# Resolve ambiguous field names, like `title`.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ignore = [
"C901", "PLR091", # complexity preferences
"D1", # docstrings
"PTH", # pathlib
"TRY003",
]

[tool.ruff.lint.flake8-builtins]
Expand Down

0 comments on commit f35c926

Please sign in to comment.