Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot authored and mdellweg committed Apr 8, 2024
1 parent d897cab commit a687e1a
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/scripts/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
But some pulp paths start with curly brackets e.g. {artifact_href}
This script modifies drf-spectacular schema validation to accept slashes and curly brackets.
"""

import json
from drf_spectacular.validation import JSON_SCHEMA_SPEC_PATH

Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/app/tasks/mark.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tasks for CollectionVersionMark"""

from pulpcore.plugin.tasking import add_and_remove
from pulp_ansible.app.models import AnsibleRepository, CollectionVersion, CollectionVersionMark

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to sync ansible plugin collection content type."""

from tempfile import NamedTemporaryFile
from pulp_smash.pulp3.bindings import PulpTestCase, delete_orphans, monitor_task
from pulp_smash.utils import http_get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests functionality around Collection-Version Signatures."""

import tarfile

import pytest
Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/api/collection/test_sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests collection sync functionality that is common to both Galaxy V2 and V3."""

import datetime
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests collection sync using the Galaxy V2 API."""

import pytest
from pulpcore.client.pulp_ansible import ApiException
from pulpcore.client.pulp_ansible import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to upload of collections."""

import hashlib
from tempfile import NamedTemporaryFile

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to upload of collections."""

import hashlib
import logging
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to Galaxy V3 deprecation."""

import pytest


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to Galaxy V3 serializers."""

from pulpcore.client.pulp_ansible import (
ContentCollectionVersionsApi,
DistributionsAnsibleApi,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests related to sync ansible plugin collection content type."""

import os
import unittest

Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/api/git/test_crud_remotes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that CRUD remotes."""

import pytest
from pulpcore.client.pulp_ansible import ApiException

Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/api/git/test_sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests collection sync functionality that is common to both Galaxy V2 and V3."""

import pytest
import subprocess

Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/api/role/test_crud_remote.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that CRUD remotes."""

import pytest
import uuid

Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/api/test_export_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
NOTE: assumes ALLOWED_EXPORT_PATHS setting contains "/tmp" - all tests will fail if this is not
the case.
"""

import pytest
import uuid

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that Collections hosted by Pulp can be installed by ansible-galaxy."""

import subprocess
import pytest
from pulpcore.client.pulp_ansible import AnsibleRepositorySyncURL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that Collections hosted by Pulp can be installed by ansible-galaxy."""

import json
from os import path
import subprocess
Expand Down
1 change: 1 addition & 0 deletions pulp_ansible/tests/functional/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for tests for the ansible plugin."""

from dynaconf import Dynaconf
from functools import partial
import unittest
Expand Down

0 comments on commit a687e1a

Please sign in to comment.