frndmg / advent-of-code-2020-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2020

Python approach

Development

Install pyenv and poetry and install the dependencies.

$ poetry install

Then run the tests with coverage

$ poetry run pytest --cov . --doctest-modules --cov-report xml:cov.xml --cov-report term -f .

You can also run the tests without coverage but it is less fancy

$ poetry run pytest --doctest-modules -f .

If you use VSCode you can check the Coverage Gutters extension to display covered lines.

About


Languages

Language:Python 100.0%