waqaspathan00 / calculator

Built a calculator with GUI while following proper developer behaviors like testing and linting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator Project Setup

Build Status

Here is a youtube link to a demonstration of this project: https://youtu.be/jHMEwAp3RO4

To run tests, Lint, and Coverage report use this command:

pytest --pylint --cov

.pylintrc is the config for pylint

.coveragerc is the config for coverage

setup.py is a config file for pytest

Calculator Site (Implementation of flash Messages)

Here is what the calculator looks like

before_calculating

If you enter atleast 2 numbers, each one seperated by a space, then it will calculate successfully

successful_calculation

If you try and calculate with less than 2 numbers, an flash message will show telling you what you did wrong

unsuccessful_calculation

Created /history where the user can see calculation history

Screen Shot 2021-12-10 at 6 45 00 PM

Updated passing tests 12/14/2021

Screen Shot 2021-12-14 at 2 38 50 PM

About

Built a calculator with GUI while following proper developer behaviors like testing and linting.


Languages

Language:Python 38.3%Language:HTML 35.4%Language:CSS 23.1%Language:JavaScript 2.0%Language:Dockerfile 1.1%