Removed dep list from tox.ini
continuous-integration/drone the build failed Details

pull/15/head
Jef Roosens 2021-04-24 23:09:13 +02:00
parent 7fbec4992e
commit 2573e67272
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
3 changed files with 10 additions and 7 deletions

View File

@ -7,7 +7,7 @@ PYTHON=python3.6
# =====RECIPES=====
.venv/bin/activate: setup.py
'$(PYTHON)' -m venv .venv
.venv/bin/pip install -e .[dev] -e .[ci]
.venv/bin/pip install -e .[ci] -e .[lint] -e .[dev]
venv: .venv/bin/activate
.PHONY: venv
@ -36,8 +36,10 @@ install: app
cp backup_tool /usr/local/bin
.PHONY: install
# We can't force the develop to have all the versions locally, so
# the local tests only include python3.6
test: venv tox.ini
@ .venv/bin/tox
@ .venv/bin/tox -e py36
.PHONY: test
lint: venv

View File

@ -8,14 +8,15 @@ setup(
# TODO add license
packages=["app", "tests"],
extras_require={
# A developer needs both
"ci": [
"tox==3.21.1",
],
"dev": [
"jedi==0.18.0",
"lint": [
"black==20.8b1",
"flake8==3.8.4",
],
"dev": [
"jedi==0.18.0",
],
},
)

View File

@ -8,7 +8,7 @@ commands =
[testenv:lint]
basepython = python3.6
deps = black==20.8b1
flake8==3.8.4
deps = .[lint]
commands = black --check setup.py app
flake8 setup.py app