-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathtox.ini
More file actions
25 lines (23 loc) · 744 Bytes
/
tox.ini
File metadata and controls
25 lines (23 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[tox]
envlist = py27,py36,py37
[testenv]
deps =
flake8
pytest
unidic-lite
commands =
flake8 .
pytest
[flake8]
ignore = E226,E221,E251,W503
# E226 ignored because sometimes var+"suffix" is easier to read than
# var + "suffix", depending on context. (I wish it was possible to
# specify particular operators for which to ignore this warning.)
#
# E221/E251 (spacing around =) ignored because I believe in aligning
# equals signs on consecutive lines, and in putting spaces around the
# equals sign in a keyword argument whenever that makes it easier to read.
#
# W503 (line break before binary operator) ignored because it's mutually
# exclusive with W504 (line break *after* binary operator) -- you have to
# pick one or the other.