From 08cd22834ba3b4f01f425787dc1419ea656e3f6d Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sun, 7 Aug 2016 04:09:58 -0400 Subject: [PATCH] add flake8-coding to our tox config Now we can enforce that all py files have the coding magic comment with utf-8. --- setup.cfg | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 8050dd345..d11c57507 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,7 @@ logging-clear-handlers=1 [flake8] min-version=2.7 +accept-encodings=utf-8 # Default pyflakes errors we ignore: # - E241: missing whitespace after ',' (used to align visually) # - E221: multiple spaces before operator (used to align visually) diff --git a/tox.ini b/tox.ini index 598368daa..648054b89 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,7 @@ deps = [_flake8] deps = flake8 + flake8-coding flake8-future-import pep8-naming files = beets beetsplug beet test setup.py docs