intial commit of tests, documentation

This commit is contained in:
2022-11-05 13:53:37 -05:00
parent 9085c184bf
commit 852acafcae
115 changed files with 21599 additions and 1229 deletions

34
tox.ini
View File

@@ -1,19 +1,27 @@
[tox]
envlist = py36, py37, py38, flake8
envlist = py38, py39, py310, black, flake8
[travis]
python =
3.8: py38
3.7: py37
3.6: py36
[flake8]
exclude = docs
max-line-length = 120
[testenv]
env = .env
deps =
-rrequirements_dev.txt
-rrequirements.txt
setenv =
PYTHONPATH = {toxinidir}
commands =
dotenv run python -m unittest discover tests
[testenv:black]
basepython = python
deps = black
commands = black --check pyteamsnap
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pyteamsnap tests
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands = python setup.py test
commands = flake8 pyteamsnap