Added tox config

pull/15/head
Jef Roosens 2021-04-24 19:38:03 +02:00
parent d6531fdde8
commit ccb16281fe
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
6 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ __pycache__/
.venv/
backup_tool
*.egg-info/
.tox/

View File

@ -35,3 +35,7 @@ app: backup_tool
install: app
cp backup_tool /usr/local/bin
.PHONY: install
test: venv tox.ini
@ .venv/bin/tox
.PHONY: test

0
app/__init__.py 100644
View File

View File

@ -13,7 +13,6 @@ setup(
"black==20.8b1",
"flake8==3.8.4",
"tox==3.21.1",
"pytest==6.2.1",
]
},
)

View File

7
tox.ini 100644
View File

@ -0,0 +1,7 @@
[tox]
envlist = py36,py37,py38,py39
[testenv]
deps = pytest
commands =
pytest