Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 17, 2018
2 parents 139db20 + cd31f81 commit e553c15
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = W191,W503
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
.. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
:target: https://travis-ci.org/pytest-dev/pytest-runner

.. .. image:: https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg
.. :target: https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master
.. .. image:: https://readthedocs.org/projects/pytest-runner/badge/?version=latest
.. :target: https://pytest-runner.readthedocs.io/en/latest/?badge=latest
Setup scripts can use pytest-runner to add setup.py test support for pytest
runner.

Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ install:

build: off

cache:
- '%LOCALAPPDATA%\pip\Cache'

test_script:
- "python -m pip install tox tox-venv"
- "tox"
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
addopts=--doctest-modules --flake8
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,22 @@
],
extras_require={
'testing': [
# upstream
'pytest>=2.8',
'pytest-sugar>=0.9.1',
'collective.checkdocs',
'pytest-flake8',

# local
'pytest-virtualenv',
],
'docs': [
# upstream
'sphinx',
'jaraco.packaging>=3.2',
'rst.linker>=1.9',

# local
],
},
setup_requires=[
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ minversion = 2.4
[testenv]
deps =
setuptools>=31.0.1
# workaround for yaml/pyyaml#126
# git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7"
commands =
py.test {posargs}
python setup.py checkdocs
Expand Down

0 comments on commit e553c15

Please sign in to comment.