diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..4dfaa5d --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts=--cov scraper diff --git a/requirements.txt b/requirements.txt index 6bf7d4e..fe6e44e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,4 @@ tabulate>=0.8.1 lxml>=4.2.5 PyQt5>=5.13.0 pytest>=5.3.1 +pytest-cov>=2.8.1 diff --git a/todo.md b/todo.md index 656e3d0..a37289b 100644 --- a/todo.md +++ b/todo.md @@ -4,6 +4,7 @@ - refactor so all BS4 stuff takes place in parser class(es) - make changes to GUI (see `gui.py`) - use pathlib instea of os module +- mypy for type checking - Travis CI - setup tools sorted so a proper installation process can work