1
0
mirror of https://github.com/enpaul/keyosk.git synced 2025-12-18 01:20:38 +00:00

Add boilerplate for new project

Rename project to keyosk
This commit is contained in:
2019-08-03 14:39:58 -04:00
committed by Ethan Paul
parent 84676e6e7e
commit 3561a3c01e
7 changed files with 351 additions and 2 deletions

26
tox.ini Normal file
View File

@@ -0,0 +1,26 @@
[tox]
envlist = py37, lint, typing, docs
[testenv:lint]
description = Check code formatting against black and pylint
basepython = python3.7
deps =
black
pylint >= 2.1.1
commands =
black front_desk
pylint front_desk
[testenv:typing]
description = Check type annotations with mypy
basepython = python3.7
deps = mypy
commands = mypy front_desk --ignore-missing-imports --no-strict-optional
[testenv]
description = Run the unit tests with pytest under {basepython} and report coverage
deps =
pytest
pytest-cov
commands = pytest --cov={envsitepackagesdir}/front_desk --cov-config {env:HOME}/.coveragerc tests/ --cov-report term-missing