Skip to content

Commit 309effe

Browse files
committed
tests: pre-commit coverage
1 parent 604193a commit 309effe

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ repos:
4545
name: pytest quick
4646
language: python
4747
entry: pytest
48-
args: [-qq, -k=not slow]
48+
args: [-qq, -k=not slow, --cov=tqdm, --cov-fail-under=70]
4949
types: [python]
5050
pass_filenames: false
5151
additional_dependencies:
5252
- numpy
5353
- pandas
54+
- pytest-cov
5455
- pytest-timeout
5556
- pytest-asyncio>=0.24
5657
- repo: https://github.com/PyCQA/flake8

‎tests/tests_rich.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
from pytest import importorskip, mark
33

44

5-
@mark.filterwarnings("ignore:rich is experimental/alpha:"
6-
"tqdm.std.TqdmExperimentalWarning")
5+
@mark.filterwarnings("ignore:rich is experimental/alpha:tqdm.std.TqdmExperimentalWarning")
76
def test_rich_no_total(capsys):
87
"""Test `tqdm.rich` on an iterable without a length, e.g. a generator"""
98
rich = importorskip('tqdm.rich')

0 commit comments

Comments
 (0)