--py3-plus: Remove unnecessary "# -*- coding: utf-8 -*-" cookie
See original GitHub issueIn Python 3, source files are decoded as utf-8 by default. This allows Python 3 only codebases to drop the encoding cookie, # -*- coding: utf-8 -*-
. pyupgrade could include this transformation when --py3-plus
is passed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Delete every non utf-8 symbols from string - Stack Overflow
I have a big amount of files and parser. What I Have to do is strip all non utf-8 symbols and put data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve changed my mind, let’s do this
Thank you, that is clear!