Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ jobs:
pip install -e .

- name: Run pytest
env:
MPLBACKEND: Agg
run: |
pytest -v --tb=short

- name: Run pytest with coverage (Ubuntu Python 3.12 only)
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
env:
MPLBACKEND: Agg
run: |
pytest --cov=hypertools --cov-report=xml --cov-report=term-missing

Expand Down
7 changes: 7 additions & 0 deletions hypertools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python

import warnings

warnings.filterwarnings(
"ignore", category=SyntaxWarning, message="invalid escape sequence"
)

from .config import __version__
from .plot.plot import plot
from .plot.backend import set_interactive_backend
Expand Down
Loading