diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..5951051 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[report] + +exclude_lines = + if __name__ == .__main__.: \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9e11785 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +test: + PYTHONPATH=. coverage run -m unittest discover -s test + coverage report -m + flake8 diff --git a/requirements-dev.txt b/requirements-dev.txt index 3930480..56236c7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1 +1,2 @@ flake8 +coverage>=5.3,<5.4