Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,6 @@ contextmanager-decorators=contextlib.contextmanager
# expressions are accepted.
generated-members=

# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes

# Tells whether to warn about missing members when the owner of the attribute
# is inferred to be None.
ignore-none=yes
Expand Down
4 changes: 1 addition & 3 deletions python/aswfdocker/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def make_bake_dict(
version_info = self.index.version_info(major_version)
if self.group_info.type == constants.ImageType.PACKAGE:
image_base = image.replace("ci-package-", "")
group = self.index.get_group_from_image(
self.group_info.type, image_base
)
self.index.get_group_from_image(self.group_info.type, image_base)
if version in versions_to_bake:
# Only one version per image needed
continue
Expand Down
4 changes: 2 additions & 2 deletions python/aswfdocker/cli/aswfdocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def build(
help="Version of the package to migrate (all versions are migrated by default)",
)
@click.option("--dry-run", "-d", is_flag=True)
def migrate(from_org, to_org, package, version, dry_run):
def migrate(**kwargs):
pass


Expand Down Expand Up @@ -289,7 +289,7 @@ def getdockerpush(build_info):
help="Package version to download",
)
@pass_build_info
def download(build_info, docker_org, package, version):
def download(*_args, **_kwargs):
pass


Expand Down
2 changes: 0 additions & 2 deletions python/aswfdocker/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

import unittest
import logging
import tempfile
import os

from click.testing import CliRunner

Expand Down
1 change: 0 additions & 1 deletion python/aswfdocker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""
Utility functions
"""
import os
import re
import subprocess
import datetime
Expand Down
Loading