Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the import path for pulp-hashlib
In this commit, there were also removed redundant #noqa directives that were used in the plugin API. The flake8 configuration had to be adjusted accordingly to ignore the import errors. closes #4006 (cherry picked from commit 7f1e3ac)
- Loading branch information
Showing
33 changed files
with
113 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed the import path for ``pulpcore.plugin.pulp_hashlib``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
from pulpcore.app.tasks import base, repository, upload # noqa | ||
from pulpcore.app.tasks import base, repository, upload | ||
|
||
from .base import ( # noqa | ||
from .base import ( | ||
general_create, | ||
general_create_from_temp_file, | ||
general_delete, | ||
general_multi_delete, | ||
general_update, | ||
) | ||
|
||
from .export import fs_publication_export, fs_repo_version_export # noqa | ||
from .export import fs_publication_export, fs_repo_version_export | ||
|
||
from .importer import pulp_import # noqa | ||
from .importer import pulp_import | ||
|
||
from .orphan import orphan_cleanup # noqa | ||
from .orphan import orphan_cleanup | ||
|
||
from .purge import purge # noqa | ||
from .purge import purge | ||
|
||
from .reclaim_space import reclaim_space # noqa | ||
from .reclaim_space import reclaim_space | ||
|
||
from .replica import replicate_distributions # noqa | ||
from .replica import replicate_distributions | ||
|
||
from .repository import repair_all_artifacts # noqa | ||
from .repository import repair_all_artifacts | ||
|
||
from .analytics import post_analytics # noqa | ||
from .analytics import post_analytics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .orphans import OrphansView # noqa | ||
from .status import StatusView # noqa | ||
from .repair import RepairView # noqa | ||
from .importer import PulpImporterImportCheckView # noqa | ||
from .orphans import OrphansView | ||
from .status import StatusView | ||
from .repair import RepairView | ||
from .importer import PulpImporterImportCheckView |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .cache import ( # noqa | ||
from .cache import ( | ||
AsyncCache, | ||
AsyncContentCache, | ||
Cache, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .base import BaseDownloader, DownloadResult # noqa | ||
from .factory import DownloaderFactory # noqa | ||
from .file import FileDownloader # noqa | ||
from .http import HttpDownloader # noqa | ||
from .base import BaseDownloader, DownloadResult | ||
from .factory import DownloaderFactory | ||
from .file import FileDownloader | ||
from .http import HttpDownloader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# plugins declare that they are a pulp plugin by subclassing PulpPluginAppConfig | ||
from pulpcore.app.apps import PulpPluginAppConfig # noqa | ||
from pulpcore.app.apps import PulpPluginAppConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from pulpcore.app.access_policy import AccessPolicyFromDB # noqa | ||
from pulpcore.app.access_policy import AccessPolicyFromDB # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from pulpcore.app.apps import adjust_roles # noqa | ||
from pulpcore.app.apps import adjust_roles # noqa: F401 |
Oops, something went wrong.