lapatchak97 / capstone2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capstone2021

A complete senior capstone project. The project requires use of a Python virtual environment and installation of the project as an editable module. Additionally, we make use of make in order to run tests.

Setup

  • Create/Activate a virtual environment

    python3 -m venv .venv
    source .venv/bin/activate
    
  • Install source code as a module

    pip install -e .
    

Run Static Analysis and Tests

Type make to run: Type make static for only static tests Type make test for only pytest

  • Static analysis using flake8, pycodestyle, and pylint
  • Run pytest with coverage. The coverage metric is set to 95%
  • Sometimes if pytest is installed globally, the virtual environment will use that instead. Simply exit and reenter the virtual environment to resolve this.

Contributors

About


Languages

Language:Makefile 68.2%Language:Python 31.8%