Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type hints - beef up docstrings - test examples, etc. #72

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
5 changes: 3 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

- name: environment info
run: "micromamba info && micromamba list"

- name: run tests
run: |
pytest \
Expand All @@ -71,7 +71,8 @@
--cov fastpair \
--cov-append \
--cov-report term-missing \
--cov-report xml .
--cov-report xml . \
--doctest-modules

- name: codecov
uses: codecov/codecov-action@v4
Expand Down
10 changes: 9 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
files: "fastpair\/|notebooks\/"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.1"
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.1"
hooks:
- id: mypy

ci:
autofix_prs: false
autoupdate_schedule: quarterly
Loading
Loading