Skip to content

Commit 221051e

Browse files
author
Jan Schaffranek
committed
Up
1 parent 9dcb78c commit 221051e

File tree

8 files changed

+682
-690
lines changed

8 files changed

+682
-690
lines changed

.coveragerc

Lines changed: 0 additions & 25 deletions
This file was deleted.

.flake8

Lines changed: 0 additions & 9 deletions
This file was deleted.

.isort.cfg

Lines changed: 0 additions & 32 deletions
This file was deleted.

.mypy.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ help:
2525
@echo "Some available commands:"
2626
@echo " * test - Run unit tests."
2727
@echo " * test-coverage - Run unit tests and test coverage."
28+
@echo " * test-coverage-html- Run unit tests and test coverage (html)."
2829
@echo " * doc - Document code (pydoc)."
2930
@echo " * clean - Cleanup (e.g. pyc files)."
3031
@echo " * code-pylint - Check code pylint."
@@ -45,6 +46,9 @@ test-coverage:
4546
@$(PYTHON) -m pytest --cov=$(SRC_CORE) $(SRC_TEST)
4647
@$(PYTHON) -m codecov
4748

49+
test-coverage-html:
50+
@$(PYTHON) -m pytest --cov=$(SRC_CORE) $(SRC_TEST) --cov-report=html
51+
4852
benchmark:
4953
@$(PYTHON) -m py.test --benchmark-columns=mean,stddev,median,rounds,iterations --benchmark-sort=mean $(SRC_BENCH)
5054

requirements-dev.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Runtime requirements
22
--requirement requirements.txt
33

4-
# Testing requirements
5-
--requirement requirements-test.txt
4+
# Testing
5+
pytest>=5.4.3
6+
codecov>=2.1.7
7+
pytest-cov>=2.10.0
8+
tox>=3.16.1
9+
pre-commit>=2.6.0
10+
pytest-benchmark>=3.2.3
611

712
# Linting
813
flake8>=3.8.3

requirements-test.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)