Skip to content

Commit 4807fc2

Browse files
committed
pytest coverage
1 parent 20373b7 commit 4807fc2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ PYTHON=python3
44
PYLINT=pylint
55
PYTESTS=pytest
66
COVERAGE=coverage
7-
BROWSER=google-chrome
87

98
all: coverage tests
109
$(PYTHON) setup.py build_ext --inplace
@@ -33,7 +32,9 @@ install:
3332
pip install .
3433

3534
lint:
36-
-$(PYLINT) superannotate/
35+
-$(PYLINT) --output-format=json superannotate/ | pylint-json2html -o pylint.html
36+
37+
lint_tests:
3738
-$(PYLINT) tests/*
3839

3940
docs:

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pip install -e .
1919
# pip install superannotate
2020

2121
# for testing
22-
pip install pytest pytest-xdist coverage pytest-cov
22+
pip install pytest pytest-xdist coverage pytest-cov pylint pylint-json2html
2323

2424
# for docs
2525
pip install sphinx sphinx_rtd_theme

0 commit comments

Comments
 (0)