Skip to content

Commit

Permalink
Changes code style checker.
Browse files Browse the repository at this point in the history
Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
  • Loading branch information
mkouhei committed Jun 13, 2016
1 parent 5c81024 commit a6a2b0a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[pytest]
addopts =
-v
--pep8
--flakes
--random
--cov swiftsc
Expand Down
24 changes: 18 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py34,
py35,
pypy,
pycodestyle,
pep257,
docs,
pychecker
Expand All @@ -14,19 +15,17 @@ commands =

[py]
deps=
pytest-pep8
pytest-cov
pytest-flakes
pytest-pylint
pytest-random
pytest-remove-stale-bytecode
requests-mock

[testenv:pep257]
deps=
pep257
basepython = python3.4
commands = pep257 swiftsc
[pep8]
show-source = True
statistics = True
exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs

[testenv:py27]
deps=
Expand Down Expand Up @@ -58,6 +57,19 @@ deps=
{[py]deps}
basepython = pypy

[testenv:pycodestyle]
deps =
{[py]deps}
pycodestyle
basepython = python3.5
commands = pycodestyle --first

[testenv:pep257]
deps=
pep257
commands = pep257 swiftsc
basepython = python3.5

[testenv:docs]
deps=
Sphinx
Expand Down

0 comments on commit a6a2b0a

Please sign in to comment.