Skip to content

Commit

Permalink
Update readme, add mypy to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ViridianForge committed Jun 13, 2024
1 parent 2e6b78a commit 4242ab5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
run: |
ruff check src/grpc_requests/*.py src/tests/*.py --statistics --config ruff.toml
ruff format src/grpc_requests/*.py src/tests/*.py --check --config ruff.toml
- name: Typecheck src with mypy
run: |
mypy src/grpc_requests/*.py
- name: Test with pytest
run: |
pytest --cov-report=xml --cov=src/grpc_requests
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# grpc_requests

[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![PyPI](https://img.shields.io/pypi/v/grpc-requests?style=flat-square)](https://pypi.org/project/grpc-requests)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/grpc-requests?style=flat-square)](https://pypi.org/project/grpc-requests)
[![PyPI download month](https://img.shields.io/pypi/dm/grpc-requests?style=flat-square)](https://pypi.org/project/grpc-requests)
Expand Down

0 comments on commit 4242ab5

Please sign in to comment.