Skip to content

Commit

Permalink
Merge 419deeb into a903495
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 19, 2018
2 parents a903495 + 419deeb commit 29969f7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ source =
branch = true
source =
decaylanguage
tests
parallel = true

[report]
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ matrix:
- TOXENV=py27,report,coveralls
- python: '3.5'
env:
- TOXENV=py35,report,coveralls
- TOXENV=py35
- python: '3.6'
env:
- TOXENV=py36,report,coveralls
Expand Down
9 changes: 6 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[bdist_wheel]
universal = 1

[flake8]
max-line-length = 140
exclude = */migrations/*
[aliases]
test=pytest

[tool:pytest]
testpaths = tests
Expand All @@ -21,6 +20,10 @@ addopts =
--doctest-glob=\*.rst
--tb=short

[flake8]
max-line-length = 140
exclude = */migrations/*

[isort]
force_single_line = True
line_length = 120
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,6 @@ def read(*names, **kwargs):
# 'rst': ['docutils>=0.11'],
# ':python_version=="2.6"': ['argparse'],
},
setup_requires = ['pytest-runner'],
tests_require = ['pytest']
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ deps =
setuptools>=20.2
graphviz
commands =
{posargs:py.test --cov --cov-report=term-missing -vv tests}
{posargs:pytest --cov {envsitepackagesdir}/decaylanguage --cov-report=term-missing -vv tests}

[testenv:bootstrap]
deps =
Expand Down

0 comments on commit 29969f7

Please sign in to comment.