Skip to content

Commit

Permalink
Lint fixes.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Jun 18, 2024
1 parent 7b90bb1 commit aa787f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ def _format_pulp_requirement(plugin, specifier=None, ref=None, gh_namespace="pul


django_ansible_base_branch = os.getenv('DJANGO_ANSIBLE_BASE_BRANCH', '2024.6.11')
django_ansible_base_dependency = f'django-ansible-base[jwt_consumer] @ git+https://github.com/ansible/django-ansible-base@{django_ansible_base_branch}'
django_ansible_base_dependency = (
'django-ansible-base[jwt_consumer] @ '
f'git+https://github.com/ansible/django-ansible-base@{django_ansible_base_branch}'
)

requirements = [
"galaxy-importer>=0.4.21,<0.5.0",
Expand Down Expand Up @@ -156,8 +159,9 @@ def strip_package_name(spec):
ref: https://github.com/ansible/galaxy_ng/wiki/Development-Setup
#steps-to-run-dev-environment-with-specific-upstream-branch
"""
DEFAULT = "pulpcore:pulp_ansible:pulp_container:galaxy_importer:django-ansible-base"
DEV_SOURCE_PATH = os.getenv(
"DEV_SOURCE_PATH", default="pulpcore:pulp_ansible:pulp_container:galaxy_importer:django-ansible-base"
"DEV_SOURCE_PATH", default=DEFAULT
).split(":")
DEV_SOURCE_PATH += [path.replace("_", "-") for path in DEV_SOURCE_PATH]
requirements = [
Expand Down

0 comments on commit aa787f5

Please sign in to comment.