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 10, 2016
1 parent fe90369 commit 54335b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 0 additions & 4 deletions pytest.ini
@@ -1,15 +1,11 @@
[pytest]
addopts =
-v
--pep8
--flakes
--random
--cov pguard.py
--cov-report=term
--cov-report=html
--doctest-modules
pep8ignore =
setup.py ALL
docs/source/conf.py ALL
flakes-ignore =
docs/source/conf.py ALL
15 changes: 13 additions & 2 deletions tox.ini
Expand Up @@ -4,6 +4,7 @@ envlist =
py34,
py35,
pypy,
pycodestyle,
pep257,
docs,
pychecker
Expand All @@ -12,16 +13,19 @@ envlist =
commands =
py.test --pylint --pylint-rcfile={toxinidir}/.pylintrc pguard.py


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

[pep8]
show-source = True
statistics = True
exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs

[testenv:py27]
deps=
{[py]deps}
Expand All @@ -47,6 +51,13 @@ deps=
{[py]deps}
basepython = pypy

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

[testenv:pep257]
deps=
pep257
Expand Down

0 comments on commit 54335b7

Please sign in to comment.