- Notifications
You must be signed in to change notification settings - Fork674
chore: make code PEP597 compliant#2201
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Use `encoding="utf-8"` in `open()` and open-like functions.https://peps.python.org/pep-0597/
codecov-commenter commentedJul 29, 2022
Codecov Report
@@ Coverage Diff @@## main #2201 +/- ##==========================================+ Coverage 91.56% 95.56% +4.00%========================================== Files 81 81 Lines 5344 5344 ==========================================+ Hits 4893 5107 +214+ Misses 451 237 -214
Flags with carried forward coverage won't be shown.Click here to find out more.
|
nejch commentedJul 29, 2022
Thanks@JohnVillalovos! Slightly related to this, I've seen some linters suggest to always use the standard |
Use
encoding="utf-8"inopen()and open-like functions.https://peps.python.org/pep-0597/