Skip to content

Commit 25fbf8c

Browse files
dralleypulpbot
authored andcommitted
Resolve ruff check warnings
1 parent dba8868 commit 25fbf8c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

pulp_python/app/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def validate_includes(self, value):
411411
Requirement(pkg)
412412
except ValueError as ve:
413413
raise serializers.ValidationError(
414-
_("includes specifier {} is invalid. {}".format(pkg, ve))
414+
_("includes specifier {} is invalid. {}").format(pkg, ve)
415415
)
416416
return value
417417

@@ -422,7 +422,7 @@ def validate_excludes(self, value):
422422
Requirement(pkg)
423423
except ValueError as ve:
424424
raise serializers.ValidationError(
425-
_("excludes specifier {} is invalid. {}".format(pkg, ve))
425+
_("excludes specifier {} is invalid. {}").format(pkg, ve)
426426
)
427427
return value
428428

pulp_python/tests/functional/api/test_domains.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import pytest
77

8-
from pulpcore.app import settings
8+
from pulpcore.app import settings # noqa: TID251
99

1010
from pulp_python.tests.functional.constants import (
1111
PYTHON_EGG_FILENAME,

pulp_python/tests/functional/api/test_export_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import pytest
1111

12-
from pulpcore.app import settings
12+
from pulpcore.app import settings # noqa: TID251
1313

1414
from pulp_python.tests.functional.constants import (
1515
PYTHON_SM_PROJECT_SPECIFIER,

0 commit comments

Comments
 (0)