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

👌 IMPROVE: [code load] Enable utf-8 as the standard encoding for reading code from files #332

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mmcky
Copy link
Member

@mmcky mmcky commented Jun 1, 2021

It looks like windows platform doesn't by default always use utf-8 when reading text from files. I think this is a sensible cross-platform default.

QuantEcon/lecture-python.myst#144

There is also a related issue reported on stackoverflow

mmcky added a commit to QuantEcon/lecture-python.myst that referenced this pull request Jun 1, 2021
@codecov
Copy link

codecov bot commented Jun 1, 2021

Codecov Report

Merging #332 (c234bae) into master (e39132e) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #332   +/-   ##
=======================================
  Coverage   87.43%   87.43%           
=======================================
  Files          12       12           
  Lines        1337     1337           
=======================================
  Hits         1169     1169           
  Misses        168      168           
Flag Coverage Δ
pytests 87.43% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
myst_nb/converter.py 78.80% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e39132e...c234bae. Read the comment docs.

mmcky added a commit to QuantEcon/lecture-python.myst that referenced this pull request Jun 1, 2021
* enable execution checks for windows, linux, os x

* test on PR first

* add interpolation install from conda-forge

* [temp] disable windows testing until executablebooks/MyST-NB#332

* turn of activate on push and set to schedule based testing
@mmcky mmcky requested a review from chrisjsewell June 1, 2021 06:43
@mmcky mmcky changed the title [code load] Enable utf-8 as the standard encoding for reading code from files 👌 IMPROVE: [code load] Enable utf-8 as the standard encoding for reading code from files Jun 7, 2021
@mmcky mmcky added the on-hold label Jun 7, 2021
@mmcky mmcky marked this pull request as draft June 7, 2021 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant