Fix mypy command
- Remove requirements_dev.txt - Add detailed versions
This commit is contained in:
parent
d3a948be47
commit
1ae306ae8f
|
@ -1,7 +0,0 @@
|
||||||
pytest>=3.7
|
|
||||||
codecov
|
|
||||||
pytest-cov
|
|
||||||
pytest-asyncio
|
|
||||||
pylint
|
|
||||||
grpcio
|
|
||||||
grpcio-tools
|
|
14
setup.py
14
setup.py
|
@ -10,17 +10,17 @@ classifiers = [
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
extras_require = {
|
extras_require = {
|
||||||
"test": [
|
"test": [
|
||||||
"codecov",
|
"codecov>=2.0.15,<3.0.0",
|
||||||
"pytest",
|
"pytest>=4.6.3,<5.0.0",
|
||||||
"pytest-cov",
|
"pytest-cov>=2.7.1,<3.0.0",
|
||||||
"pytest-asyncio",
|
"pytest-asyncio>=0.10.0,<1.0.0",
|
||||||
],
|
],
|
||||||
"lint": [
|
"lint": [
|
||||||
"pylint",
|
"pylint>=2.3.1,<3.0.0",
|
||||||
"mypy",
|
"mypy>=0.701,<1.0",
|
||||||
],
|
],
|
||||||
"dev": [
|
"dev": [
|
||||||
"tox",
|
"tox>=3.13.2,<4.0.0",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -18,4 +18,4 @@ basepython = python3
|
||||||
extras = dev
|
extras = dev
|
||||||
commands =
|
commands =
|
||||||
pylint --rcfile={toxinidir}/.pylintrc libp2p tests
|
pylint --rcfile={toxinidir}/.pylintrc libp2p tests
|
||||||
mypy -p p2pclient --config-file {toxinidir}/mypy.ini
|
mypy -p libp2p --config-file {toxinidir}/mypy.ini
|
||||||
|
|
Loading…
Reference in New Issue
Block a user