apache / apache/beam

Fix pylint warning: Using open without explicitly specifying an encoding (unspecified-encoding)

Open
#21,236 0 comments 0 reactions 0 assignees View on GitHub
core P2 python task tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The warning "unspecified-encoding" from pylint (2.11.1) is temporarily disabled.

Since Beam runs on distributed worker environments that may have surprising default encodings, it's good for our code to be explicit about encodings.

Imported from Jira [BEAM-12992](https://issues.apache.org/jira/browse/BEAM-12992). Original Jira may contain additional context.
Reported by: benglez.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.