]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix tox and add autopep8 'fix' env 29802/head
authorErnesto Puerta <epuertat@redhat.com>
Wed, 21 Aug 2019 17:39:41 +0000 (19:39 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 23 Aug 2019 16:29:40 +0000 (18:29 +0200)
commitd5176018a0804431712454cac927abe05b46d6de
tree3f288897089ce804e99ceea38142bf5d9d51f9eb
parent06e34dae1247a0b46dda58f602cc8e820dc27af6
mgr/dashboard: fix tox and add autopep8 'fix' env

Fixes missing config settings around tox and flake8.

Adds toxenv 'fix' to automatically fix PEP8 issues. As we have disabled
so many PEP8 warnings, this currently fixes issues that may pass through
the toxenv 'lint'.

Fixes: https://tracker.ceph.com/issues/41379
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/HACKING.rst
src/pybind/mgr/dashboard/requirements-lint.txt
src/pybind/mgr/dashboard/tox.ini