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

fix: poly libs and poly check - open files with encoding #74

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

DavidVujic
Copy link
Owner

Description

When analyzing source code, python files are opened in read mode. This PR aims to solve issues with unknown encodings, by setting utf-8 explicit and ignore characters that cannot be parsed (errors=ignore).

Motivation and Context

Issue #73

How Has This Been Tested?

Local install
CircleCI ✅

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

@DavidVujic DavidVujic merged commit 4fabe4b into main Mar 28, 2023
@DavidVujic DavidVujic deleted the poly-libs-poly-check-file-encoding-errors branch March 28, 2023 18: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

1 participant