Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow default improver to improve without affected packages #693

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

TG1999
Copy link
Contributor

@TG1999 TG1999 commented Apr 11, 2022

Signed-off-by: Tushar Goel tushar.goel.dav@gmail.com

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM... but consider using file-driven tests for easier maintenance and updates. You my the nginx test branch merged first.

@TG1999 TG1999 force-pushed the fix/default_improver branch 4 times, most recently from 1576ec9 to bfaa17a Compare April 18, 2022 10:37
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TG1999 TG1999 force-pushed the fix/default_improver branch 2 times, most recently from b346581 to 7b337cd Compare April 18, 2022 13:50
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
@TG1999 TG1999 merged commit 47f6ae6 into aboutcode-org:main Apr 18, 2022
"""
default_improver = DefaultImprover()
response_file = os.path.join(TEST_DATA, f"alpine-input.json")
with open(response_file, "r") as f:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"r" is always the default FWIW, so not needed in general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants