intial commit of tests, documentation
This commit is contained in:
34
tox.ini
34
tox.ini
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user