Skip to content

Remove encoding declaration#2100

Closed
DimitriPapadopoulos wants to merge 0 commit intocodespell-project:masterfrom
DimitriPapadopoulos:coding_utf-8
Closed

Remove encoding declaration#2100
DimitriPapadopoulos wants to merge 0 commit intocodespell-project:masterfrom
DimitriPapadopoulos:coding_utf-8

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
Collaborator

@DimitriPapadopoulos DimitriPapadopoulos commented Oct 7, 2021

In Python 3, the default source file encoding is UTF-8. As far the
Python interpreter is concerned, we can remove the encoding declaration:

# -*- coding: utf-8 -*-

Closes #2099.

@DimitriPapadopoulos
Copy link
Copy Markdown
Collaborator Author

Fixed in #2364.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove # -*- coding: utf-8 -*-?

4 participants