Skip to content

refactor: use with statement for file reading #2740

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

allrob23
Copy link

Changes

This PR updates the file reading logic to use a with statement, aligning with Python best practices for resource management. is a minor change but ensures consistency with the project standard, as other parts already use with statements.

Copy link

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 2740
  • Commit SHA: 0681ed9087ca13524da6e422b4c5e854ea2d69df

Checks will be approved automatically on success.

@andrewnester
Copy link
Contributor

Hi @allrob23 ! Thanks for your contribution. First-time contributors are required to sign CLA in order for their change to be accepted. If this is something you're willing to do, please reach out to [email protected] and we'll take it from there.

Thank you!

@allrob23
Copy link
Author

Hi @andrewnester, I just sent the email.

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

Successfully merging this pull request may close these issues.

2 participants