]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-container-flake8: Using project's tox.ini 999/head
authorErwan Velu <erwan@redhat.com>
Mon, 9 Apr 2018 13:00:47 +0000 (15:00 +0200)
committerErwan Velu <erwan@redhat.com>
Mon, 9 Apr 2018 13:51:13 +0000 (15:51 +0200)
commit07265798f1881acf02c2ef28f65ccda635170a57
tree3091b1c2a83c1377de2783367d9fb8df09b53d46
parentd75097953ec6fddfb1bc3575570f7f5932ac2bae
ceph-container-flake8: Using project's tox.ini

The current code is running flake8 from a container to check every
python file changed by a PR.

The actual code doesn't import the tox.ini of ceph-container which
specify a particular configuration like "max-line-length = 99"

This lead to a situation where a dev which runs flake on his dev env
have a flake reporting now failures while flake from the CI fails.

So this patch is about adding project's tox.ini inside the container to
insure flake is using it.
ceph-container-flake8/build/build