Skip to content

Conversation

@TG1999
Copy link
Contributor

@TG1999 TG1999 commented Apr 11, 2022

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

@TG1999 TG1999 force-pushed the fix/default_improver branch from f89dc23 to c5deeb1 Compare April 12, 2022 17:39
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 force-pushed the fix/default_improver branch from 7b337cd to bc94910 Compare April 18, 2022 13:54
@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