Closed nwiltsie closed 10 months ago
I found another one!
I did have to make one change to add the encoding='utf-8' argument to open() to make pylint happy.
encoding='utf-8'
open()
https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/unspecified-encoding.html
For sanity I confirmed that the default encoding used in the docker image is indeed UTF-8:
$ docker run -it --rm --entrypoint /bin/bash ghcr.io/uclahs-cds/pipeval:4.0.0-rc.2 bldocker@e90e52ddfca8:/tool$ python3 -c "import locale; print(locale.getpreferredencoding())" UTF-8
I found another one!
I did have to make one change to add the
encoding='utf-8'
argument toopen()
to make pylint happy.https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/unspecified-encoding.html
For sanity I confirmed that the default encoding used in the docker image is indeed UTF-8: