Removed dep list from tox.ini
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
parent
7fbec4992e
commit
2573e67272
6
Makefile
6
Makefile
|
@ -7,7 +7,7 @@ PYTHON=python3.6
|
||||||
# =====RECIPES=====
|
# =====RECIPES=====
|
||||||
.venv/bin/activate: setup.py
|
.venv/bin/activate: setup.py
|
||||||
'$(PYTHON)' -m venv .venv
|
'$(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
|
venv: .venv/bin/activate
|
||||||
.PHONY: venv
|
.PHONY: venv
|
||||||
|
@ -36,8 +36,10 @@ install: app
|
||||||
cp backup_tool /usr/local/bin
|
cp backup_tool /usr/local/bin
|
||||||
.PHONY: install
|
.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
|
test: venv tox.ini
|
||||||
@ .venv/bin/tox
|
@ .venv/bin/tox -e py36
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
lint: venv
|
lint: venv
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -8,14 +8,15 @@ setup(
|
||||||
# TODO add license
|
# TODO add license
|
||||||
packages=["app", "tests"],
|
packages=["app", "tests"],
|
||||||
extras_require={
|
extras_require={
|
||||||
# A developer needs both
|
|
||||||
"ci": [
|
"ci": [
|
||||||
"tox==3.21.1",
|
"tox==3.21.1",
|
||||||
],
|
],
|
||||||
"dev": [
|
"lint": [
|
||||||
"jedi==0.18.0",
|
|
||||||
"black==20.8b1",
|
"black==20.8b1",
|
||||||
"flake8==3.8.4",
|
"flake8==3.8.4",
|
||||||
],
|
],
|
||||||
|
"dev": [
|
||||||
|
"jedi==0.18.0",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue