Skip to content

Commit 948e8b4

Browse files
committed
NOBUG: Do not show deprecations in pytest
1 parent d6767ce commit 948e8b4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CONTRIBUTING.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ You can setup your local environment for developing patches for cpplint like thi
5454

5555
.. code-block:: bash
5656
57+
# run a single test
58+
pytest cpplint_unittest.py -k testExclude
59+
# run all tests
60+
./setup.py test
5761
./setup.py lint
5862
./setup.py style
59-
./setup.py test
6063
./setup.py ci # all the above
6164
./tox # all of the above in all python environments
6265

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ python_files = *test.py
88
testpaths = .
99
# running with tox reports only 75%
1010
addopts = --cov-fail-under=75 --cov=cpplint
11+
filterwarnings =
12+
ignore:.*:DeprecationWarning

0 commit comments

Comments
 (0)