Skip to content

Commit 56723d2

Browse files
jobselkopulpbot
authored andcommitted
Resolve ruff check warnings
1 parent 1ab2597 commit 56723d2

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
@@ -519,7 +519,7 @@ def validate_includes(self, value):
519519
Requirement(pkg)
520520
except ValueError as ve:
521521
raise serializers.ValidationError(
522-
_("includes specifier {} is invalid. {}".format(pkg, ve))
522+
_("includes specifier {} is invalid. {}").format(pkg, ve)
523523
)
524524
return value
525525

@@ -530,7 +530,7 @@ def validate_excludes(self, value):
530530
Requirement(pkg)
531531
except ValueError as ve:
532532
raise serializers.ValidationError(
533-
_("excludes specifier {} is invalid. {}".format(pkg, ve))
533+
_("excludes specifier {} is invalid. {}").format(pkg, ve)
534534
)
535535
return value
536536

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)