From bade33c7e490655c3f5b46d374129294f70449aa Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 16 Dec 2018 12:01:04 -0800 Subject: Remove unnecessary encoding cookie from Python source files In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. --- setup.py | 1 - 1 file changed, 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 23e51452c..ab81cace3 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import os import sys from distutils import log -- cgit v1.2.3