From 39c8b99aa2f535f267fdb461d09ffdb3e3659800 Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Thu, 17 Nov 2016 12:15:59 +0000 Subject: [PATCH] Consistently use encoding declarations --- __main__.py | 1 + cookiecutter/__main__.py | 1 + setup.py | 1 + tests/replay/conftest.py | 1 + 4 files changed, 4 insertions(+) diff --git a/__main__.py b/__main__.py index b1c06ffd5..150baaab3 100644 --- a/__main__.py +++ b/__main__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """Allow cookiecutter to be executable from a checkout or zip file.""" import runpy diff --git a/cookiecutter/__main__.py b/cookiecutter/__main__.py index 0d8fccb00..5795faa1e 100644 --- a/cookiecutter/__main__.py +++ b/cookiecutter/__main__.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """Allow cookiecutter to be executable through `python -m cookiecutter`.""" from __future__ import absolute_import diff --git a/setup.py b/setup.py index 35b04ea82..1157db641 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- import os import io diff --git a/tests/replay/conftest.py b/tests/replay/conftest.py index adb7b64af..fa4ab590c 100644 --- a/tests/replay/conftest.py +++ b/tests/replay/conftest.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import pytest