mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
add flake8-coding to our tox config
Now we can enforce that all py files have the coding magic comment with utf-8.
This commit is contained in:
parent
5b3cd44608
commit
08cd22834b
2 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ logging-clear-handlers=1
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
min-version=2.7
|
min-version=2.7
|
||||||
|
accept-encodings=utf-8
|
||||||
# Default pyflakes errors we ignore:
|
# Default pyflakes errors we ignore:
|
||||||
# - E241: missing whitespace after ',' (used to align visually)
|
# - E241: missing whitespace after ',' (used to align visually)
|
||||||
# - E221: multiple spaces before operator (used to align visually)
|
# - E221: multiple spaces before operator (used to align visually)
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -27,6 +27,7 @@ deps =
|
||||||
[_flake8]
|
[_flake8]
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
|
flake8-coding
|
||||||
flake8-future-import
|
flake8-future-import
|
||||||
pep8-naming
|
pep8-naming
|
||||||
files = beets beetsplug beet test setup.py docs
|
files = beets beetsplug beet test setup.py docs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue