Signed-off-by: Michael Fritch <mfritch@suse.com>
[tox]
-envlist = py3, mypy, flake8
-skipsdist=true
+envlist =
+ py3
+ mypy
+ fix
+ flake8
+skipsdist = true
+requires = cython
[flake8]
max-line-length = 100
.eggs
statistics = True
+[autopep8]
+addopts =
+ --max-line-length {[flake8]max-line-length}
+ --ignore "{[flake8]ignore}"
+ --exclude "{[flake8]exclude}"
+ --in-place
+ --recursive
+ --ignore-local-config
+
[testenv]
skip_install=true
deps =
deps = mypy==0.790
commands = mypy --config-file ../mypy.ini {posargs:cephadm}
+[testenv:fix]
+basepython = python3
+deps =
+ autopep8
+commands =
+ python --version
+ autopep8 {[autopep8]addopts} {posargs: cephadm}
+
[testenv:flake8]
basepython = python3
deps =