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

Add explicit utf8 encoding to "open" calls #470

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

adityasaky
Copy link
Member

Please fill in the fields below to submit a pull request. The more information
that is provided, the better.

Fixes issue #: N/A

Description of the changes being introduced by the pull request:

Our linter is unhappy that we don't provide an explicit encoding when opening files in Metablock.load. This PR sets the encoding to utf8.

Please verify and check that the pull request fulfills the following
requirements
:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

@adityasaky adityasaky changed the title Add explicit utf8 encoding to Metablock.load Add explicit utf8 encoding to "open" calls Aug 31, 2021
Signed-off-by: Aditya Sirish <aditya@saky.in>
Copy link
Member

@SantiagoTorres SantiagoTorres left a comment

Choose a reason for hiding this comment

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

LGTM!

@adityasaky adityasaky merged commit 904a246 into in-toto:develop Aug 31, 2021
@adityasaky adityasaky deleted the fix-lint-file-encoding branch August 31, 2021 14:18
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.

None yet

2 participants