Skip to content

Fix/warnings issue #199 - Deprecation Warnings#203

Open
matthewdeanmartin wants to merge 2 commits intoLibraryOfCongress:masterfrom
matthewdeanmartin:fix/warnings-issue-199
Open

Fix/warnings issue #199 - Deprecation Warnings#203
matthewdeanmartin wants to merge 2 commits intoLibraryOfCongress:masterfrom
matthewdeanmartin:fix/warnings-issue-199

Conversation

@matthewdeanmartin
Copy link
Copy Markdown

@matthewdeanmartin matthewdeanmartin commented Apr 7, 2026

This fixes issue #199

Codec open, as per docs is replaced by open.

MR uses a partial to set the encoding and strictness.

https://docs.python.org/3/library/codecs.html#codecs.open

Also explicitly sets flags arg name.

More MRs incoming because it was unnecessarily difficult to check if this broke anything.

@matthewdeanmartin matthewdeanmartin changed the title Fix/warnings issue 199- Fix/warnings issue 199- Deprecation Warnings Apr 7, 2026
@matthewdeanmartin matthewdeanmartin changed the title Fix/warnings issue 199- Deprecation Warnings Fix/warnings issue #199 - Deprecation Warnings Apr 7, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

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.

1 participant