Skip to content

Commit

Permalink
Pylint 2.10 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed Aug 22, 2021
1 parent 5f03285 commit ec7c08c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ disable=
super-with-arguments, # Python 2
too-few-public-methods,
useless-object-inheritance, # Python 2
redundant-u-string-prefix, # Python 2

[SIMILARITIES]
# Minimum lines number of a similarity.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_notebook_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def run_notebook(path):
The notebook's path is set to the current working directory
"""

with open(path) as notebook_file:
with open(path, encoding='utf-8') as notebook_file:
notebook = nbformat.read(notebook_file, as_version=nbformat.NO_CONVERT)

process = ExecutePreprocessor(timeout=60, allow_errors=True)
Expand Down

0 comments on commit ec7c08c

Please sign in to comment.