1
1
pytest-mypy
2
2
===================================
3
3
4
- .. image :: https://travis-ci.org/dbader/pytest-mypy.svg?branch=master
5
- :target: https://travis-ci.org/dbader/pytest-mypy
6
- :alt: See Build Status on Travis CI
4
+ Mypy static type checker plugin for pytest
7
5
8
6
.. image :: https://img.shields.io/pypi/v/pytest-mypy.svg
9
- :target: https://pypi.python. org/pypi /pytest-mypy
7
+ :target: https://pypi.org/project /pytest-mypy/
10
8
:alt: See Latest Release on PyPI
11
9
12
- Mypy static type checker plugin for pytest
13
-
14
- ----
15
-
16
10
Features
17
11
--------
18
12
@@ -54,32 +48,6 @@ You can restrict your test run to only perform mypy checks and not any other tes
54
48
55
49
py.test --mypy -m mypy test_* .py
56
50
57
- Contributing
58
- ------------
59
- Contributions are very welcome. Tests can be run with `tox `_, please ensure
60
- the coverage at least stays the same before you submit a pull request.
61
-
62
- Development Environment Setup
63
- -----------------------------
64
- Here's how to install pytest-mypy in development mode so you can test your
65
- changes locally:
66
-
67
- .. code-block :: bash
68
-
69
- $ pyvenv venv
70
- $ source venv/bin/activate
71
- $ python setup.py develop
72
- $ venv/bin/py.test --mypy example_test.py
73
-
74
- How to publish a new version to PyPI
75
- ------------------------------------
76
-
77
- .. code-block :: bash
78
-
79
- $ pip install twine wheel
80
- $ python setup.py sdist bdist_wheel
81
- $ twine upload dist/*
82
-
83
51
License
84
52
-------
85
53
@@ -100,7 +68,6 @@ https://github.com/dbader/pytest-mypy
100
68
101
69
.. _`MIT` : http://opensource.org/licenses/MIT
102
70
.. _`file an issue` : https://github.com/dbader/pytest-mypy/issues
103
- .. _`tox` : https://tox.readthedocs.io/en/latest/
104
71
.. _`pip` : https://pypi.python.org/pypi/pip/
105
72
.. _`PyPI` : https://pypi.python.org/pypi
106
73
.. _`mypy` : http://mypy-lang.org/
0 commit comments