Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kensho-technologies/pytest-annotate
Generate PyAnnotate annotations from your pytest tests.
https://github.com/kensho-technologies/pytest-annotate
mypy python testing testing-tools tools type-safety
Last synced: 3 months ago
JSON representation
Generate PyAnnotate annotations from your pytest tests.
- Host: GitHub
- URL: https://github.com/kensho-technologies/pytest-annotate
- Owner: kensho-technologies
- License: apache-2.0
- Created: 2017-11-17T16:20:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T16:14:53.000Z (over 2 years ago)
- Last Synced: 2024-07-14T01:23:00.300Z (4 months ago)
- Topics: mypy, python, testing, testing-tools, tools, type-safety
- Language: Python
- Size: 32.2 KB
- Stars: 109
- Watchers: 6
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-python-typing - pytest-annotate - Pyannotate plugin for pytest. (Tools / Helper tools to add annotations to existing code)
- starred-awesome - pytest-annotate - Generate PyAnnotate annotations from your pytest tests. (Python)
README
# pytest-annotate
[![Build Status](https://travis-ci.org/kensho-technologies/pytest-annotate.svg?branch=master)](https://travis-ci.org/kensho-technologies/pytest-annotate)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![PyPI Python](https://img.shields.io/pypi/pyversions/pytest-annotate.svg)](https://pypi.python.org/pypi/pytest-annotate)
[![PyPI Version](https://img.shields.io/pypi/v/pytest-annotate.svg)](https://pypi.python.org/pypi/pytest-annotate)
[![PyPI Status](https://img.shields.io/pypi/status/pytest-annotate.svg)](https://pypi.python.org/pypi/pytest-annotate)
[![PyPI Wheel](https://img.shields.io/pypi/wheel/pytest-annotate.svg)](https://pypi.python.org/pypi/pytest-annotate)[PyAnnotate](https://github.com/dropbox/pyannotate) as a
[pytest](https://docs.pytest.org/en/latest/) plugin.```
pip install pytest-annotate# Generate annotations by running your pytest tests as usual:
pytest --annotate-output=./annotations.json# Apply those annotations using pyannotate:
pyannotate --type-info ./annotations.json .
```